Skip to content
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

feat: support system.parquet_files table #25002

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
be11052
chore: initial sync changes
hiltontj May 9, 2024
f637f8c
fix: correct field type for retention policies
hiltontj May 9, 2024
72d825d
fix: test in wal
hiltontj May 9, 2024
0fd3f31
refactor: use TokioDatafusionConfig for server setup
hiltontj May 10, 2024
985589e
feat: add SystemSchemaProvider to QueryExecutor
hiltontj May 10, 2024
c5b7fba
chore: clippy
hiltontj May 10, 2024
266cca1
feat: add the system.queries table
hiltontj May 10, 2024
5c1b2d4
fix: gRPC test broken after addition of system.queries table
hiltontj May 10, 2024
afdd5ba
Merge branch 'main' into hiltontj/system-tables
hiltontj May 13, 2024
df41e99
Merge branch 'hiltontj/system-tables' into hiltontj/system-queries-table
hiltontj May 13, 2024
fa63a8e
test: test system.queries table via gRPC
hiltontj May 13, 2024
e3aa631
refactor: clean up test for system queries table
hiltontj May 13, 2024
0b87130
refactor: naming on const in query executor
hiltontj May 13, 2024
8fc3537
refactor: expose system tables by default in edge/pro
hiltontj May 14, 2024
17d5bec
feat: support system.parquet_files table
hiltontj May 14, 2024
a990259
test: added test for system.parquet_files table
hiltontj May 15, 2024
f85fa78
test: add test for missing table_name to system.parquet_files queries
hiltontj May 15, 2024
8998e59
chore: switch to core rev instead of branch
hiltontj May 15, 2024
d101824
Merge branch 'main' into hiltontj/system-tables
hiltontj May 16, 2024
b9044cd
Merge branch 'hiltontj/system-tables' into hiltontj/system-queries-table
hiltontj May 16, 2024
f94c342
Merge branch 'hiltontj/system-queries-table' into hiltontj/system-tab…
hiltontj May 16, 2024
d2b1cd5
Merge branch 'hiltontj/system-tables-no-debug' into hiltontj/sys-tbl-…
hiltontj May 16, 2024
c4430cf
Merge branch 'hiltontj/system-tables' into hiltontj/system-queries-table
hiltontj May 16, 2024
788b73d
Merge branch 'hiltontj/system-queries-table' into hiltontj/system-tab…
hiltontj May 16, 2024
77965ec
Merge branch 'hiltontj/system-tables-no-debug' into hiltontj/sys-tbl-…
hiltontj May 16, 2024
9171bbf
Merge branch 'main' into hiltontj/sys-tbl-parquet-files
hiltontj May 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ sha2 = "0.10.8"
snap = "1.0.0"
sqlparser = "0.41.0"
sysinfo = "0.30.8"
test-log = { version = "0.2.16", features = ["trace"] }
thiserror = "1.0"
tokio = { version = "1.35", features = ["full"] }
tokio-util = "0.7.9"
Expand Down
23 changes: 12 additions & 11 deletions influxdb3/tests/server/flight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,18 @@ async fn flight() -> Result<(), influxdb3_client::Error> {

assert_batches_sorted_eq!(
[
"+--------------+--------------------+-------------+------------+",
"| catalog_name | db_schema_name | table_name | table_type |",
"+--------------+--------------------+-------------+------------+",
"| public | information_schema | columns | VIEW |",
"| public | information_schema | df_settings | VIEW |",
"| public | information_schema | schemata | VIEW |",
"| public | information_schema | tables | VIEW |",
"| public | information_schema | views | VIEW |",
"| public | iox | cpu | BASE TABLE |",
"| public | system | queries | BASE TABLE |",
"+--------------+--------------------+-------------+------------+",
"+--------------+--------------------+---------------+------------+",
"| catalog_name | db_schema_name | table_name | table_type |",
"+--------------+--------------------+---------------+------------+",
"| public | information_schema | columns | VIEW |",
"| public | information_schema | df_settings | VIEW |",
"| public | information_schema | schemata | VIEW |",
"| public | information_schema | tables | VIEW |",
"| public | information_schema | views | VIEW |",
"| public | iox | cpu | BASE TABLE |",
"| public | system | parquet_files | BASE TABLE |",
"| public | system | queries | BASE TABLE |",
"+--------------+--------------------+---------------+------------+",
],
&batches
);
Expand Down
1 change: 1 addition & 0 deletions influxdb3_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ parquet.workspace = true
parquet_file.workspace = true
test_helpers.workspace = true
test_helpers_end_to_end.workspace = true
test-log.workspace = true

# crates.io crates
http.workspace = true
Expand Down
Loading