[
https://issues.apache.org/jira/browse/GOBBLIN-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhishek Tiwari updated GOBBLIN-26:
-----------------------------------
Sprint: Apache Gobblin 170724
> SQL server - wrong column used for db name in getSchemaMetadata()
> -----------------------------------------------------------------
>
> Key: GOBBLIN-26
> URL: https://issues.apache.org/jira/browse/GOBBLIN-26
> Project: Apache Gobblin
> Issue Type: Bug
> Reporter: Abhishek Tiwari
> Assignee: Kuai Yu
>
> In SqlServerExtractor.getSchemaMetadata() the SQL query has the following
> WHERE clause `WHERE upper(col.table_name)=upper(?) AND
> upper(col.table_schema)=upper(?)` where the first parameter is the table name
> and the second one is the database name.
> This does not work for SQL server since the table_schema column contains the
> name of the schema (within a database) and not the database name (different
> from MySQL). The column to use is `table_catalog`.
>
> *Github Url* : https://github.com/linkedin/gobblin/issues/1868
> *Github Reporter* : *debelyoo*
> *Github Created At* : 2017-05-15T14:31:57Z
> *Github Updated At* : 2017-05-15T14:31:57Z
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)