-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Java] SQL_ALL_TABLES_ARE_SELECTABLE, SQL_NULL_ORDERING, SQL_MAX_COLUMNS_IN_TABLE are not supported in SqlInfoBuilder #39558
Comments
thermo911
changed the title
SqlInfo.SQL_ALL_TABLES_ARE_SELECTABLE is not supported in SqlInfoBuilder
SQL_ALL_TABLES_ARE_SELECTABLE and SQL_NULL_ORDERING are not supported in SqlInfoBuilder
Jan 11, 2024
I mistakenly removed myself from assignees. |
thermo911
changed the title
SQL_ALL_TABLES_ARE_SELECTABLE and SQL_NULL_ORDERING are not supported in SqlInfoBuilder
SQL_ALL_TABLES_ARE_SELECTABLE, SQL_NULL_ORDERING, SQL_MAX_COLUMNS_IN_TABLE are not supported in SqlInfoBuilder
Jan 11, 2024
lidavidm
pushed a commit
that referenced
this issue
Jan 12, 2024
… and SQL_MAX_COLUMNS_IN_TABLE support to SqlInfoBuilder (#39561) This PR adds ability to specify `SQL_ALL_TABLES_ARE_SELECTABLE` and `SQL_NULL_ORDERING` metadata in `org.apache.arrow.flight.sql.SqlInfoBuilder`. ### Rationale for this change Without this change it is impossible to specify whether all tables are selectable, supported null ordering and maximum number of columns in table using `SqlInfoBuilder`. ### What changes are included in this PR? In this PR two methods are added to `SqlInfoBuilder`: - `withSqlAllTablesAreSelectable` accepting boolean parameter that specifies whether all tables are selectable - `withSqlNullOrdering` accepting `org.apache.arrow.flight.sql.impl.FlightSql.SqlNullOrdering` value that specifies supported null ordering - `withSqlMaxColumnsInTable` accepting long parameter that specifies maximum number of columns in table ### Are these changes tested? To ensure correctness `org.apache.arrow.flight.TestFlightSql#testGetSqlInfoResultsWithManyArgs` test is added). ### Are there any user-facing changes? This PR does not contain any breaking changes of user API. * Closes: #39558 Authored-by: Alexander Blazhkov <ablazhkov@querifylabs.com> Signed-off-by: David Li <li.davidm96@gmail.com>
lidavidm
changed the title
SQL_ALL_TABLES_ARE_SELECTABLE, SQL_NULL_ORDERING, SQL_MAX_COLUMNS_IN_TABLE are not supported in SqlInfoBuilder
[Java] SQL_ALL_TABLES_ARE_SELECTABLE, SQL_NULL_ORDERING, SQL_MAX_COLUMNS_IN_TABLE are not supported in SqlInfoBuilder
Jan 12, 2024
clayburn
pushed a commit
to clayburn/arrow
that referenced
this issue
Jan 23, 2024
…DERING and SQL_MAX_COLUMNS_IN_TABLE support to SqlInfoBuilder (apache#39561) This PR adds ability to specify `SQL_ALL_TABLES_ARE_SELECTABLE` and `SQL_NULL_ORDERING` metadata in `org.apache.arrow.flight.sql.SqlInfoBuilder`. ### Rationale for this change Without this change it is impossible to specify whether all tables are selectable, supported null ordering and maximum number of columns in table using `SqlInfoBuilder`. ### What changes are included in this PR? In this PR two methods are added to `SqlInfoBuilder`: - `withSqlAllTablesAreSelectable` accepting boolean parameter that specifies whether all tables are selectable - `withSqlNullOrdering` accepting `org.apache.arrow.flight.sql.impl.FlightSql.SqlNullOrdering` value that specifies supported null ordering - `withSqlMaxColumnsInTable` accepting long parameter that specifies maximum number of columns in table ### Are these changes tested? To ensure correctness `org.apache.arrow.flight.TestFlightSql#testGetSqlInfoResultsWithManyArgs` test is added). ### Are there any user-facing changes? This PR does not contain any breaking changes of user API. * Closes: apache#39558 Authored-by: Alexander Blazhkov <ablazhkov@querifylabs.com> Signed-off-by: David Li <li.davidm96@gmail.com>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…DERING and SQL_MAX_COLUMNS_IN_TABLE support to SqlInfoBuilder (apache#39561) This PR adds ability to specify `SQL_ALL_TABLES_ARE_SELECTABLE` and `SQL_NULL_ORDERING` metadata in `org.apache.arrow.flight.sql.SqlInfoBuilder`. ### Rationale for this change Without this change it is impossible to specify whether all tables are selectable, supported null ordering and maximum number of columns in table using `SqlInfoBuilder`. ### What changes are included in this PR? In this PR two methods are added to `SqlInfoBuilder`: - `withSqlAllTablesAreSelectable` accepting boolean parameter that specifies whether all tables are selectable - `withSqlNullOrdering` accepting `org.apache.arrow.flight.sql.impl.FlightSql.SqlNullOrdering` value that specifies supported null ordering - `withSqlMaxColumnsInTable` accepting long parameter that specifies maximum number of columns in table ### Are these changes tested? To ensure correctness `org.apache.arrow.flight.TestFlightSql#testGetSqlInfoResultsWithManyArgs` test is added). ### Are there any user-facing changes? This PR does not contain any breaking changes of user API. * Closes: apache#39558 Authored-by: Alexander Blazhkov <ablazhkov@querifylabs.com> Signed-off-by: David Li <li.davidm96@gmail.com>
zanmato1984
pushed a commit
to zanmato1984/arrow
that referenced
this issue
Feb 28, 2024
…DERING and SQL_MAX_COLUMNS_IN_TABLE support to SqlInfoBuilder (apache#39561) This PR adds ability to specify `SQL_ALL_TABLES_ARE_SELECTABLE` and `SQL_NULL_ORDERING` metadata in `org.apache.arrow.flight.sql.SqlInfoBuilder`. ### Rationale for this change Without this change it is impossible to specify whether all tables are selectable, supported null ordering and maximum number of columns in table using `SqlInfoBuilder`. ### What changes are included in this PR? In this PR two methods are added to `SqlInfoBuilder`: - `withSqlAllTablesAreSelectable` accepting boolean parameter that specifies whether all tables are selectable - `withSqlNullOrdering` accepting `org.apache.arrow.flight.sql.impl.FlightSql.SqlNullOrdering` value that specifies supported null ordering - `withSqlMaxColumnsInTable` accepting long parameter that specifies maximum number of columns in table ### Are these changes tested? To ensure correctness `org.apache.arrow.flight.TestFlightSql#testGetSqlInfoResultsWithManyArgs` test is added). ### Are there any user-facing changes? This PR does not contain any breaking changes of user API. * Closes: apache#39558 Authored-by: Alexander Blazhkov <ablazhkov@querifylabs.com> Signed-off-by: David Li <li.davidm96@gmail.com>
thisisnic
pushed a commit
to thisisnic/arrow
that referenced
this issue
Mar 8, 2024
…DERING and SQL_MAX_COLUMNS_IN_TABLE support to SqlInfoBuilder (apache#39561) This PR adds ability to specify `SQL_ALL_TABLES_ARE_SELECTABLE` and `SQL_NULL_ORDERING` metadata in `org.apache.arrow.flight.sql.SqlInfoBuilder`. ### Rationale for this change Without this change it is impossible to specify whether all tables are selectable, supported null ordering and maximum number of columns in table using `SqlInfoBuilder`. ### What changes are included in this PR? In this PR two methods are added to `SqlInfoBuilder`: - `withSqlAllTablesAreSelectable` accepting boolean parameter that specifies whether all tables are selectable - `withSqlNullOrdering` accepting `org.apache.arrow.flight.sql.impl.FlightSql.SqlNullOrdering` value that specifies supported null ordering - `withSqlMaxColumnsInTable` accepting long parameter that specifies maximum number of columns in table ### Are these changes tested? To ensure correctness `org.apache.arrow.flight.TestFlightSql#testGetSqlInfoResultsWithManyArgs` test is added). ### Are there any user-facing changes? This PR does not contain any breaking changes of user API. * Closes: apache#39558 Authored-by: Alexander Blazhkov <ablazhkov@querifylabs.com> Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
Version
15.0.0-SNAPSHOT
Problem
org.apache.arrow.flight.sql.SqlInfo.SQL_ALL_TABLES_ARE_SELECTABLE
org.apache.arrow.flight.sql.SqlInfo.SQL_NULL_ORDERING
org.apache.arrow.flight.sql.SqlInfo.SQL_MAX_COLUMNS_IN_TABLE
are not supported in
org.apache.arrow.flight.sql.SqlInfoBuilder
Expected state
SqlInfoBuilder
has methodwithSqlAllTablesAreSelectable
that accepts single parameterboolean value
that specifies whether all tables are selectable.SqlInfoBuilder
has methodwithSqlNullOrdering
that accepts single parameterSqlNullOrdering value
that specifies ordering of nullsSqlInfoBuilder
has methidwithSqlMaxColumnsInTable
that accepts single parameterlong value
that specifies maximum number of columns in table.Component(s)
Java
The text was updated successfully, but these errors were encountered: