Open Yury-Fridlyand opened 1 year ago
https://github.com/opensearch-project/sql/blob/9fbcf11258964616d2f5056420cc83afedd71613/core/src/main/java/org/opensearch/sql/analysis/symbol/SymbolTable.java#L119-L128
When SymbolTable::lookupAllFields
patched to return allSymbols
, Tableau and PBI can operate with <field>.<subfield>
columns.
Be aware of nested objects as it may unexpectedly return nulls.
@GumpacG nested type is out of scope for this issue. Please create a separate issue to discuss the nested type as it may require a different solution.
Is your feature request related to a problem?
Opensearch and SQL plugin use dot notation to delimit fields and subfields for nested objects. BI tools (Power BI and Tableau Desktop) don't use
DESCRIBE
request to get list of columns[^1].Example
Part of ecommerce index mapping (sample data set from Dashboards).
DESCRIBE
response:SELECT *
response:(there are no
geoip.something
columns)What solution would you like?
Add new SQL plugin setting with boolean value. By default it is deactivated (unset). Once set, it will enforce expanding all complex objects in
select *
query.What alternatives have you considered?
JDBC and ODBC drivers could be updated by having new connection string parameter. Once set, driver will send new request parameter
Do you have any additional context?
Add any other context or screenshots about the feature request here.
[^1]: PBI runs
select * from ... limit 0
, Tableau runsselect * from ... where 1 = 0
.