Closed ryanhamilton closed 1 month ago
how to update?
I have contacted DolphinDB for assistance. Tested and reported issues with jdbc-2.00.11.1-jar-with-dependencies.jar
md.getColumns(catalog, schemaPattern, tableName, columnName); catalog = null schemaPattern = tableName = columnName = "%"
Fixed in 3.03
qStudio relies on databases to supply JDBC compliant standard results. Most of the issues below are areas where either the specification is not met or a slightly incorrect result is returned.
Issues:
Recommended Actions for DolphinDB
Testing new Versions:
Items to Test
conn.getMetaData().getColumns(catalog, schemaPattern, tableName, columnName)
. The result MUST contain result of format:TABLE_CAT:`,TABLE_SCHEM:`,TABLE_NAME:n,COLUMN_NAME:c,DATA_TYPE:0i,TYPE_NAME:`int$t
Other Recommendation - Non-tabular data.
To render non-tabular data either qStudio needs to understand the result of each database OR the JDBC driver must convert non-tabular results to a ResultSet. Currently dolphindb demand is not enough to justify adding the 1.4MB dependency for DolphinDB therefore ideally DolphinDB would convert non-tabular results to result sets. In particular I would recommend this for lists and dictionaries.
Example of converting kdb dictionaries / lists to resultsets: