You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] DESCRIBE query returns incorrect data for text fields #259
For the keyword type, i think the response from the plugin is trying to return the original OpenSearch data type to users, and there is a type converter in the JDBC driver to convert the keywords etc. to SQL type like text / varchar
As for the date type, in the OpenSearch engine, all of the date and time types are defined as date type no matter if it is containing time or timezone information, so when the data comes in, the sql plugin maps it to timestamp in case of losing these information. We did not think up a good solution for this situation yet, do you have any proposal for it?
Further support for text will be added in #1038 and following tickets (1111, 1112, etc). As it was discussed, SQL plugin will continue reporting text as text and strings and keyword as keyword. JDBC driver should properly translate that into corresponding JDBC types.
Support for date type and actual type detection added in #1664 and #1821.
Activity
Yury-Fridlyand commentedon Nov 13, 2021
UPD
datecolumn returned astimestampin a query.date0mapping:A simple query:
chloe-zh commentedon Nov 14, 2021
datetype no matter if it is containing time or timezone information, so when the data comes in, the sql plugin maps it to timestamp in case of losing these information. We did not think up a good solution for this situation yet, do you have any proposal for it?Yury-Fridlyand commentedon Feb 2, 2023
See also #1296
Yury-Fridlyand commentedon Jul 31, 2023
Further support for text will be added in #1038 and following tickets (1111, 1112, etc). As it was discussed, SQL plugin will continue reporting
textastextand strings andkeywordaskeyword. JDBC driver should properly translate that into corresponding JDBC types.Support for
datetype and actual type detection added in #1664 and #1821.