chore(sql): queryable parquet partitions#4918
Merged
bluestreak01 merged 233 commits intomasterfrom Dec 5, 2024
Merged
Conversation
1629bc6 to
fc2892f
Compare
fc2892f to
6425628
Compare
|
GitHub Actions - Rebuild Native Libraries seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
…quet # Conflicts: # core/src/main/java/io/questdb/cairo/CairoConfigurationWrapper.java # core/src/main/java/io/questdb/cairo/ColumnVersionReader.java # core/src/main/java/io/questdb/cairo/TableWriter.java # core/src/main/java/io/questdb/cairo/TxReader.java # core/src/main/java/io/questdb/cairo/sql/BindVariableService.java # core/src/main/java/io/questdb/griffin/SqlCompilerImpl.java # core/src/main/java/io/questdb/griffin/engine/ops/AlterOperation.java # core/src/main/java/io/questdb/griffin/engine/ops/AlterOperationBuilder.java # core/src/main/java/io/questdb/std/ObjectPool.java # core/src/test/java/io/questdb/test/TestServerMain.java # core/src/test/java/io/questdb/test/cairo/CairoTestConfiguration.java # core/src/test/java/io/questdb/test/cairo/fuzz/WalWriterFuzzTest.java # core/src/test/java/io/questdb/test/cairo/o3/O3MaxLagFuzzTest.java # core/src/test/java/io/questdb/test/cairo/wal/TableSequencerImplTest.java # core/src/test/java/io/questdb/test/cutlass/http/ImportIODispatcherTest.java # core/src/test/java/io/questdb/test/cutlass/pgwire/BasePGTest.java # core/src/test/java/io/questdb/test/cutlass/pgwire/PGJobContextTest.java # core/src/test/java/io/questdb/test/griffin/AlterTableConvertPartitionTest.java # core/src/test/java/io/questdb/test/griffin/KeywordAsTableNameTest.java # core/src/test/java/io/questdb/test/griffin/ParallelFilterTest.java # core/src/test/java/io/questdb/test/griffin/ParallelGroupByFuzzTest.java # core/src/test/java/io/questdb/test/griffin/ParallelLatestByTest.java # core/src/test/java/io/questdb/test/griffin/VarcharConversionTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/eq/EqTimestampCursorFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/groupby/CovarPopGroupByFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/groupby/CovarSampleGroupByFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/json/JsonExtractVarcharFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/str/LPadFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/str/LPadStrFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/str/RPadFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/functions/str/RPadStrFunctionFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/table/PageFrameRecordCursorImplFactoryTest.java # core/src/test/java/io/questdb/test/griffin/engine/table/parquet/ReadParquetFunctionTest.java
eugenels
reviewed
Nov 29, 2024
core/src/main/java/io/questdb/cairo/IntervalFwdPartitionFrameCursorFactory.java
Show resolved
Hide resolved
core/src/main/java/io/questdb/griffin/engine/table/parquet/PartitionDecoder.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/questdb/griffin/engine/table/parquet/PartitionUpdater.java
Outdated
Show resolved
Hide resolved
bluestreak01
reviewed
Dec 4, 2024
bluestreak01
reviewed
Dec 4, 2024
core/src/main/java/io/questdb/cairo/sql/PageFrameMemoryPool.java
Outdated
Show resolved
Hide resolved
bluestreak01
reviewed
Dec 4, 2024
core/src/main/java/io/questdb/cairo/sql/PageFrameMemoryRecord.java
Outdated
Show resolved
Hide resolved
bluestreak01
reviewed
Dec 5, 2024
core/src/main/java/io/questdb/griffin/engine/functions/table/ReadParquetRecordCursor.java
Outdated
Show resolved
Hide resolved
bluestreak01
approved these changes
Dec 5, 2024
Contributor
[PR Coverage check]😍 pass : 4200 / 4669 (89.96%) file detail
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tasks
Dev
alter table <table_name> convert partition to native- @eugenelsTableReadercolumns/parquet fd refresh on parquet->native conversion (add a stress test for that) - @eugenelsTableReader's Parquet partition metadata snapshots (currently it only has fds) and use the offset when reading from Parquet - @amunraPartitionFrametoPageFrame- @puzpuzpuzparquet2libARROW:schemaand (possibly)pandasso that symbols are read as categorical data.CairoExceptionfrom Rust, notRuntimeError.Profiling
... long list here :-)
Fuzz Testing
INandBETWEENqueriesPlain old testing
read_parquetfunction against a parquet partition we've generated that contains symbols (it will probably break sinceread_parquetexpects string column results, not i32 indices).TableReadermetadata change handling when converting to/from parquet/regular partitions