Describe the enhancement requested
WIP - still editing below. I have a working fix I play to link to this issue.
ArrowDatabaseMetadata's schema currently defines a vector for COLUMN_DEF, yet never assigns any value to it. FlightSQLColumnMetadata also does not have a constant set for this value.
Due to this, database connections through java's arrow-flight cannot and will not show underlying default value metadata per column. DESCRIBE TABLE or similar calls (engine depending) can still be used to get a column's default value, but it can be at odds with what the client shows.
In my case, my tests were ran using Dremio as the engine and dBeaver as the client.
Describe the enhancement requested
WIP - still editing below. I have a working fix I play to link to this issue.
ArrowDatabaseMetadata's schema currently defines a vector forCOLUMN_DEF, yet never assigns any value to it.FlightSQLColumnMetadataalso does not have a constant set for this value.Due to this, database connections through java's arrow-flight cannot and will not show underlying default value metadata per column. DESCRIBE TABLE or similar calls (engine depending) can still be used to get a column's default value, but it can be at odds with what the client shows.
In my case, my tests were ran using Dremio as the engine and dBeaver as the client.