Chunchun Ye
87708dc64a
feat(flightsql): Add filters to `GetTables` metadata endpoint ( #7289 )
...
* feat: add optional param to GetTables
* chore: add the third param to query plan
* feat: add table_types param
* chore: clippy
* test: add test cases with filters
* chore: update query to avoid SQL injection
* refactor: update where clause and cleanup
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-22 20:14:01 +00:00
Andrew Lamb
7f7d0b8d52
fix(flightsql): Send correct schema in GetFlightInfo for Queries ( #7283 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-22 13:58:44 +00:00
Andrew Lamb
777128f2b7
feat(flightsql): Avoid planning Flight queries twice ( #7281 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-21 20:15:53 +00:00
Andrew Lamb
184565b552
feat(flightsql): Implement FlightSQL `GetSqlInfo` endpoint ( #7198 )
...
* feat(flightsql): Implement GetSqlInfo endpoint
* chore: Add some comments to clarify the tests intent
2023-03-20 19:34:18 +00:00
Andrew Lamb
795a79a7ad
feat(flightsql): Add `GetTables` metadata endpoint without filters ( #7238 )
...
* test: Add getTables jdbc_client example
* feat: add `CommandGetTables` in FlightSqlClient
* feat: add `CommandGetTables` in flightsql cmd and planner
* test: add e2e test for `CommandGetTables`
* chore: clippy
* chore: comment out the test with filters
* test: update jdbc test expected value for tables
---------
Co-authored-by: Chunchun <14298407+appletreeisyellow@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-20 19:20:13 +00:00
Andrew Lamb
2bc495b29e
feat(flightsql): Support `GetTableTypes` metadata API ( #7242 )
...
* feat(flightsql): Support `GetTableTypes` metadata API
* chore: comment about possible optimization
* chore: fix logical conflict
2023-03-17 13:12:23 +00:00
Andrew Lamb
3fb4fad784
refactor(iox_query): Rename `prepare_sql` to `sql_to_physical_plan` ( #7226 )
...
* refactor(iox_query): Rename `prepare_sql` to `sql_to_physical_plan`
* fix: logical conflict
2023-03-16 19:12:15 +00:00
Andrew Lamb
0c36c60d66
refactor(flightsql): simplfy parameterized statement generation ( #7232 )
...
* docs: Add doc link to command enum
* refactor(flightsql): simplfy parameterized statement generation
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-16 14:27:21 +00:00
Andrew Lamb
c819d4f865
feat(flightsql): Implement `GetDbSchemas` metadata API ( #7213 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-16 10:13:51 +00:00
Andrew Lamb
6d6fd8f663
feat(flightsql): implement basic `CommandGetCatalogs` support ( #7212 )
...
* refactor: reduce redundancy in test
* chore: implement basic get_catalog support
* fix: clippy
2023-03-15 21:52:59 +00:00
dependabot[bot]
c538cac4ef
chore(deps): Bump tokio from 1.25.0 to 1.26.0 ( #7107 )
...
* chore(deps): Bump tokio from 1.25.0 to 1.26.0
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: Run cargo hakari tasks
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CircleCI[bot] <circleci@influxdata.com>
Co-authored-by: Dom <dom@itsallbroken.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-02 09:50:39 +00:00
Carol (Nichols || Goulding)
faae5eb438
chore: Rerun cargo hakari manage-deps
2023-02-27 11:56:15 +01:00
dependabot[bot]
d0e6b16450
chore(deps): Bump bytes from 1.3.0 to 1.4.0
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:30:56 +00:00
Andrew Lamb
fa15a48c31
refactor: use types rather than `Any` in `flightsql` interface ( #6705 )
...
* refactor: use types rather than Any in flightsql interface
* fix: Update service_grpc_flight/src/lib.rs
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
* chore: review feedback
* fix: fmt
* fix: error conversion
---------
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-31 14:45:46 +00:00
dependabot[bot]
ed7d02a225
chore(deps): Bump tokio from 1.24.2 to 1.25.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 01:57:27 +00:00
Andrew Lamb
2db8443a64
refactor: split flightsql crate into smaller modules ( #6703 )
...
* refactor: split flightsql crate into smaller modules
* refactor: automatically derive from Impl
2023-01-25 21:12:48 +00:00
Andrew Lamb
0c55a0f257
feat: Implement basic prepared statement support in IOx ( #6667 )
...
* feat: allow override of flightsql namespace
* feat: Implement DoAction endpoint
* refactor: Remove try_unpack
* fix: remove unused code / more clone
2023-01-25 12:00:43 +00:00
Andrew Lamb
c3bc61f10e
refactor: Move `flightsql` code into its own module, add docs and tests ( #6640 )
...
* refactor: Move `flightsql` code into its own module
* fix: get schema from LogicalPlan
* refactor: use arrow_flight::sql::Any instead of prost_types::any
* fix: cleanup docs and avoid as_ref
* fix: Use Bytes
* fix: use Any::pack
* fix: doclink
2023-01-24 18:24:32 +00:00