localhost
e8e9526738
chore: pipeline dryrun api can currently receives pipeline raw content ( #5142 )
...
* chore: pipeline dryrun api can currently receives pipeline raw content
* chore: remove dryrun v1 and add test
* chore: change dryrun pipeline api body schema
* chore: remove useless struct PipelineInfo
* chore: update PipelineDryrunParams doc
* chore: increase code readability
* chore: add some comment for pipeline dryrun test
* Apply suggestions from code review
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
* chore: format code
---------
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
2024-12-12 11:47:21 +00:00
Yingwen
fee75a1fad
feat: collect reader metrics from prune reader ( #5152 )
2024-12-12 11:27:22 +00:00
localhost
b8a78b7838
chore: decide tag column in log api follow table schema if table exists ( #5138 )
...
* chore: decide tag column in log api follow table schema if table exists
* chore: add more test for greptime_identity pipeline
* chore: change pipeline get_table function signature
* chore: change identity_pipeline_inner tag_column_names type
2024-12-12 09:01:21 +00:00
Weny Xu
2137c53274
feat(index): add file_size_hint for remote blob reader ( #5147 )
...
feat(index): add file_size_hint for remote blob reader
2024-12-12 04:45:40 +00:00
Yohan Wal
03ad6e2a8d
feat(fuzz): add alter table options for alter fuzzer ( #5074 )
...
* feat(fuzz): add set table options to alter fuzzer
* chore: clippy is happy, I'm sad
* chore: happy ci happy
* fix: unit test
* feat(fuzz): add unset table options to alter fuzzer
* fix: unit test
* feat(fuzz): add table option validator
* fix: make clippy happy
* chore: add comments
* chore: apply review comments
* fix: unit test
* feat(fuzz): add more ttl options
* fix : #5108
* chore: add comments
* chore: add comments
2024-12-12 04:21:38 +00:00
Weny Xu
d53fbcb936
feat: introduce PuffinMetadataCache ( #5148 )
...
* feat: introduce `PuffinMetadataCache`
* refactor: remove too_many_arguments
* chore: fmt toml
2024-12-12 04:09:36 +00:00
Weny Xu
8c1959c580
feat: add prefetch support to InvertedIndexFooterReader for reduced I/O time ( #5146 )
...
* feat: add prefetch support to `InvertedIndeFooterReader`
* chore: correct struct name
* chore: apply suggestions from CR
2024-12-12 03:49:54 +00:00
Weny Xu
e2a41ccaec
feat: add prefetch support to PuffinFileFooterReader for reduced I/O time ( #5145 )
...
* feat: introduce `PuffinFileFooterReader`
* refactor: remove `SyncReader` trait and impl
* refactor: replace `FooterParser` with `PuffinFileFooterReader`
* chore: remove unused errors
2024-12-12 03:13:36 +00:00
Niwaka
a8012147ab
feat: support push down IN filter ( #5129 )
...
* feat: support push down IN filter
* chore: move tests to prune.sql
2024-12-11 13:46:23 +00:00
Ruihang Xia
60f8dbf7f0
feat: implement v1/sql/parse endpoint to parse GreptimeDB's SQL dialect ( #5144 )
...
* derive ser/de
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* impl method
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove deserialize
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-11 13:33:54 +00:00
ZonaHe
9da2e17d0e
feat: update dashboard to v0.7.2 ( #5141 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-11 12:47:59 +00:00
Yohan Wal
1a8e77a480
test: part of parser test migrated from duckdb ( #5125 )
...
* test: update test
* fix: fix test
2024-12-11 09:28:13 +00:00
Zhenchi
e1e39993f7
feat(vector): add scalar add function ( #5119 )
...
* refactor: extract implicit conversion helper functions of vector
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* feat(vector): add scalar add function
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix fmt
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-12-11 09:25:56 +00:00
Lei, HUANG
a30d918df2
perf: avoid cache during compaction ( #5135 )
...
* Revert "refactor: Avoid wrapping Option for CacheManagerRef (#4996 )"
This reverts commit 42bf7e9965 .
* fix: memory usage during log ingestion
* fix: fmt
2024-12-11 08:24:41 +00:00
dennis zhuang
2c4ac76754
feat: adjust WAL purge default configurations ( #5107 )
...
* feat: adjust WAL purge default configurations
* fix: config
* feat: change raft engine file_size default to 128Mib
2024-12-11 08:08:05 +00:00
jeremyhi
a6893aad42
chore: set store_key_prefix for all kvbackend ( #5132 )
2024-12-11 08:04:02 +00:00
discord9
d91517688a
chore: fix aws_lc not in depend tree check in CI ( #5121 )
...
* chore: fix aws_lc check in CI
* chore: update lock file
2024-12-11 07:02:03 +00:00
shuiyisong
3d1b8c4fac
chore: add /ready api for health checking ( #5124 )
...
* chore: add ready endpoint for health checking
* chore: add test
2024-12-11 02:56:48 +00:00
Yingwen
7c69ca0502
chore: bump main branch version to 0.12 ( #5133 )
...
chore: bump version to v0.12.0
2024-12-10 13:10:37 +00:00
dennis zhuang
03a28320d6
feat!: enable read cache and write cache when using remote object stores ( #5093 )
...
* feat: enable read cache and write cache when using remote object stores
* feat: make read cache be aware of remote store names
* chore: docs
* chore: apply review suggestions
* chore: trim write cache path
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
v0.11.0
2024-12-10 04:03:44 +00:00
Lei, HUANG
ce86ba3425
chore: Reduce FETCH_OPTION_TIMEOUT from 10 to 3 seconds in config.rs ( #5117 )
...
Reduce FETCH_OPTION_TIMEOUT from 10 to 3 seconds in config.rs
2024-12-09 13:39:18 +00:00
Yingwen
2fcb95f50a
fix!: fix regression caused by unbalanced partitions and splitting ranges ( #5090 )
...
* feat: assign partition ranges by rows
* feat: balance partition rows
* feat: get uppoer bound for part nums
* feat: only split in non-compaction seq scan
* fix: parallel scan on multiple sources
* fix: can split check
* feat: scanner prepare by request
* feat: remove scan_parallelism
* docs: upate docs
* chore: update comment
* style: fix clippy
* feat: skip merge and dedup if there is only one source
* chore: Revert "feat: skip merge and dedup if there is only one source"
Since memtable won't do dedup jobs
This reverts commit 2fc7a54b11 .
* test: avoid compaction in sqlness window sort test
* chore: do not create semaphore if num partitions is enough
* chore: more assertions
* chore: fix typo
* fix: compaction flag not set
* chore: address review comments
2024-12-09 12:50:57 +00:00
ZonaHe
1b642ea6a9
feat: update dashboard to v0.7.1 ( #5123 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-09 10:27:35 +00:00
Weny Xu
b35221ccb6
ci: set meta replicas to 1 ( #5111 )
2024-12-09 07:22:47 +00:00
Zhenchi
bac7e7bac9
refactor: extract implicit conversion helper functions of vector type ( #5118 )
...
refactor: extract implicit conversion helper functions of vector
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-12-09 07:19:00 +00:00
dennis zhuang
903da8f4cb
fix: show create table doesn't quote option keys which contains dot ( #5108 )
...
* fix: show create table doesn't quote option keys which contains dot
* fix: compile
2024-12-09 03:27:46 +00:00
Ning Sun
c0f498b00c
feat: update pgwire to 0.28 ( #5113 )
...
* feat: update pgwire to 0.28
* test: update tests
2024-12-09 03:12:11 +00:00
Lin Yihai
19373d806d
chore: Add timeout setting for find_ttl. ( #5088 )
v0.11.0-nightly-20241209
2024-12-06 15:02:15 +00:00
Ning Sun
3133f3fb4e
feat: add cursor statements ( #5094 )
...
* feat: add sql parsers for cursor operations
* feat: cursor operator
* feat: implement RecordBatchStreamCursor
* feat: implement cursor storage and execution
* test: add tests
* chore: update docstring
* feat: add a temporary sql rewrite for cast in limit
this issue is described in #5097
* test: add more sql for cursor integration test
* feat: reject non-select query for cursor statement
* refactor: address review issues
* test: add empty result case
* feat: address review comments
2024-12-06 09:32:22 +00:00
discord9
8b944268da
feat: ttl=0/instant/forever/humantime&ttl refactor ( #5089 )
...
* feat: ttl zero filter
* refactor: use TimeToLive enum
* fix: unit test
* tests: sqlness
* refactor: Option<TTL> None means UNSET
* tests: sqlness
* fix: 10000 years --> forever
* chore: minor refactor from reviews
* chore: rename back TimeToLive
* refactor: split imme request from normal requests
* fix: use correct lifetime
* refactor: rename immediate to instant
* tests: flow sink table default ttl
* refactor: per review
* tests: sqlness
* fix: ttl alter to instant
* tests: sqlness
* refactor: per review
* chore: per review
* feat: add db ttl type&forbid instant for db
* tests: more unit test
2024-12-06 09:20:42 +00:00
Ning Sun
dc83b0aa15
feat: add more transaction related statement for postgres interface ( #5081 )
...
* fix: add match for start and abort transactions
* feat: add commit transaction statement
* feat: add warning on transaction start
* chore: update message
2024-12-06 08:22:25 +00:00
Weny Xu
2b699e735c
chore: correct example config file ( #5105 )
...
* chore: correct example config file
* fix: fix unit test
2024-12-06 03:14:08 +00:00
Yingwen
7a3d6f2bd5
docs: remove lg_prof_interval from env ( #5103 )
2024-12-06 02:59:16 +00:00
Ruihang Xia
f9ebb58a12
fix: put PipelineChecker at the end ( #5092 )
...
fix: put PipelineChecker in the end
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-06 02:10:17 +00:00
ZonaHe
c732016fa0
feat: update dashboard to v0.7.0 ( #5100 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-05 13:42:36 +00:00
Weny Xu
01a308fe6b
refactor: relocate CLI to a dedicated directory ( #5101 )
...
* refactor: relocate CLI to a dedicated directory
* chore: expose method and const
* refactor: use BoxedError
* chore: expose DatabaseClient
* chore: add clone derive
2024-12-05 12:12:24 +00:00
Ruihang Xia
cf0c84bed1
feat!: remove GET method in /debug path ( #5102 )
...
* featremove GET method in \/debug path
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update how-to document as well
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-05 08:21:55 +00:00
Yingwen
66c0445974
perf: take a new batch to reduce last row cache usage ( #5095 )
...
* feat: take and cache last row to save memory
* style: fix clippy
2024-12-05 03:59:28 +00:00
Ruihang Xia
7d8b256942
refactor: replace LogHandler with PipelineHandler ( #5096 )
...
* refactor: replace LogHandler with PipelineHandler
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change method name
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename transform to insert
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-04 11:48:55 +00:00
Ruihang Xia
5092f5f451
feat: define basic structures and implement TimeFilter ( #5086 )
...
* feat: define basic structures and implement TimeFilter
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* document column filter
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* define context
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change variable name to avoid typo checker
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change error referring style
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refine context definition
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-04 07:39:33 +00:00
dennis zhuang
ff4c153d4b
test: adds sqlness test for TTL ( #5063 )
...
* test: adds sqlness test for TTL
* chore: restart cluster
* fix: typo
* test: adds database TTL with metric engine tables
2024-12-03 11:32:40 +00:00
Lei, HUANG
a51853846a
fix: schema cache invalidation ( #5067 )
...
* fix: use SchemaCache to locate database metadata
* main:
Refactor SchemaMetadataManager to use TableInfoCacheRef
- Replace TableInfoManagerRef with TableInfoCacheRef in SchemaMetadataManager
- Update DatanodeBuilder to pass TableInfoCacheRef to SchemaMetadataManager
- Rename error MissingCacheRegistrySnafu to MissingCacheSnafu in datanode module
- Adjust tests to use new mock_schema_metadata_manager with TableInfoCacheRef
* fix/schema-cache-invalidation: Add cache module and integrate cache registry into datanode
• Implement build_datanode_cache_registry function to create cache registry for datanode
• Integrate cache registry into datanode by modifying DatanodeBuilder and HeartbeatTask
• Refactor InvalidateTableCacheHandler to InvalidateCacheHandler and move to common-meta crate
• Update Cargo.toml to include cache as a dev-dependency for datanode
• Adjust related modules (flownode, frontend, tests-integration, standalone) to use new cache handler and registry
• Remove obsolete handler module from frontend crate
* fix: fuzz imports
* chore: add some doc for cahce builder functions
* refactor: change table info cache to table schema cache
* fix: remove unused variants
* fix fuzz
* chore: apply suggestion
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* chore: apply suggestion
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* fix: compile
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
Co-authored-by: Weny Xu <wenymedia@gmail.com >
2024-12-03 10:44:29 +00:00
Weny Xu
51c6eafb16
feat: recover file cache index asynchronously ( #5087 )
...
* feat: recover file cache index asynchronously
* chore: apply suggestions from CR
2024-12-03 09:33:52 +00:00
Weny Xu
5bdea1a755
fix: correct is_exceeded_size_limit behavior for in-memory store ( #5082 )
...
* fix: correct `is_exceeded_size_limit` behavior for in-memory store
* chore: rename `MetaClientExceededSizeLimit` to `ResponseExceededSizeLimit`
2024-12-02 12:26:02 +00:00
Ning Sun
bcadce3988
chore: remove openssl deps ( #5079 )
...
* chore: remove openssl deps
* ci: add ci task to check blacklisted dependencies
2024-12-02 07:12:15 +00:00
Weny Xu
0f116c8501
feat: enable compression for metasrv client ( #5078 )
...
* feat: enable compression for metasrv client
* refactor: simplify gRPC service router registration
* chore: fix unit tests
2024-12-02 05:18:25 +00:00
Ruihang Xia
c049ce6ab1
feat: add decolorize processor ( #5065 )
...
* feat: add decolorize processor
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/pipeline/src/etl/processor/cmcd.rs
* add crate level integration test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
v0.11.0-nightly-20241202
2024-11-29 11:18:02 +00:00
dennis zhuang
6308e86e21
docs: tweak readme and AUTHOR ( #5069 )
...
* docs: tweak readme
* chore: links
* fix: typo
* fix: link
* docs: update AUTHOR
2024-11-29 04:08:53 +00:00
Ning Sun
36263830bb
refactor: remove built-in apidocs and schemars ( #5068 )
...
* feat: feature gate apidocs
* refactor: remove built-in apidocs and schemars
* remove redoc html
2024-11-29 03:31:02 +00:00
discord9
d931389a4c
fix(flow): minor fix about count(*)&sink keyword ( #5061 )
...
* fix: SiNk
* fix: sink&count(*)
* tests: SiNk
* refactor: per review
2024-11-29 03:06:27 +00:00