[teiid-issues] [JBoss JIRA] (TEIID-5848) views in vertica not found by teiid

Steven Hawkins (Jira) issues at jboss.org
Thu Nov 14 08:38:00 EST 2019


    [ https://issues.jboss.org/browse/TEIID-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813059#comment-13813059 ] 

Steven Hawkins commented on TEIID-5848:
---------------------------------------

For a source view to be visible over odata it needs to have a unique/primary key - is there one indicated by vertica?  

> How i can create connection?

The log message indicates that this is before ENTESB-11662 which should try to bind to localhost by default.  After that change it will bind to 0.0.0.0 by default - which should be the preferred interface.  Is it possible to test against a later version as you are also able to explicitly set the host name that way.

> A try another way and get this error.

That is effectively trying to make an embedded connection.  That will not work from a separate vm.  In the same spring vm you should use autowiring of the main datasource to get an embedded connection to Teiid.

> views in vertica not found by teiid
> -----------------------------------
>
>                 Key: TEIID-5848
>                 URL: https://issues.jboss.org/browse/TEIID-5848
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Connector
>            Reporter: Renat Eskenin
>            Assignee: Steven Hawkins
>            Priority: Major
>
> We created view in vertica DB
> Example project with vertica translator+odata not found this view
> {code}
> src	1	Varchar	4	[NULL]	true	false	false	[NULL]	false	[NULL]
> src_id	2	Varchar	18	[NULL]	true	false	false	[NULL]	false	[NULL]
> src_name	3	Varchar	363	[NULL]	true	false	false	[NULL]	false	[NULL]
> account_id	4	Varchar	18	[NULL]	true	false	false	[NULL]	false	[NULL]
> name	5	Varchar	765	[NULL]	true	false	false	[NULL]	false	[NULL]
> billing_country	6	Varchar	240	[NULL]	true	false	false	[NULL]	false	[NULL]
> root_domain	7	Varchar	192	[NULL]	true	false	false	[NULL]	false	[NULL]
> sales_team	8	Varchar	240	[NULL]	true	false	false	[NULL]	false	[NULL]
> {code}
> {
>   "error": {
>     "code": null,
>     "message": "Cannot find EntitySet, Singleton, ActionImport or FunctionImport with name 'funnel_leads'."
>   }
> }
> But regular tables works properly



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list