-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDBC driver DatabaseMetadata.getTables method returns views as type TABLE #9
Comments
Note heavyai/heavydb@f3de0a6, differentiating between tables & views without inefficient call to get table details, so possible fix path. |
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
Correction of various issues and a little enanchement on getTables method, that, if schemaPattern is specified and there is a match with current connected user, returns only the tables and the views of current user.
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
Correction of various issues and a little enanchement on getTables method, that, if schemaPattern is specified and there is a match with current connected user, returns only the tables and the views of current user.
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
Correction of various issues and a little enanchement on getTables method, that, if schemaPattern is specified and there is a match with current connected user, returns only the tables and the views of current user.
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
Correction of various issues and a little enanchement on getTables method, that, if schemaPattern is specified and there is a match with current connected user, returns only the tables and the views of current user.
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
Correction of various issues and a little enanchement on getTables method, that, if schemaPattern is specified and there is a match with current connected user, returns only the tables and the views of current user.
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
Correction of various issues and a little enanchement on getTables method, that, if schemaPattern is specified and there is a match with current connected user, returns only the tables and the views of current user.
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
This patch correct the issues #163 #164 #310 #311 The new implementation of getPrimaryKey method makes the driver compatible with Tableau 2019.1 Now the GetTables method return a list of table and views of currenct database if the schemaPattern is null or it matches the current database name
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 25, 2019
This patch correct the issues #163 #164 #310 #311 The new implementation of getPrimaryKey method makes the driver compatible with Tableau 2019.1 Now the GetTables method return a list of table and views of currenct database if the schemaPattern is null or it matches the current database name
cdessanti
referenced
this issue
in cdessanti/mapd-core
Feb 28, 2019
Fixes and enanchements for getTables, getImportedKeys, getExportedKeys. getPrimaryKeys. Added the helper method getEmptyResultSetWithDesc
dwayneberry
referenced
this issue
in heavyai/heavydb
Apr 1, 2019
Fixes and enanchements for getTables, getImportedKeys, getExportedKeys. getPrimaryKeys. Added the helper method getEmptyResultSetWithDesc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
originally noted as https://community.mapd.com/t/jdbc-driver-databasemetadata-gettables-method-returns-views-as-type-table/924
When you call DatabaseMetadata.getTables it will return a TABLE_TYPE of TABLE for views created in MAPD.
null,null,TABLE1,TABLE,null,null,null,null,null,null
null,null,VIEW1,TABLE,null,null,null,null,null,null
Similarly, DatabaseMetadata.getTableTypes only returns TABLE as a type.
https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html#getTables-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-
https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html#getTableTypes--
The text was updated successfully, but these errors were encountered: