Lei, HUANG
3029b47a89
fix: find latest window ( #5037 )
...
* fix: find latest window
* more test files
2024-11-21 04:56:03 +00:00
Weny Xu
14d997e2d1
feat: add unset table options support ( #5034 )
...
* feat: add unset table options support
* test: add tests
* chore: update greptime-proto
* chore: add comments
2024-11-21 03:52:56 +00:00
Zhenchi
0aab68c23b
feat(vector): add conversion between vector and string ( #5029 )
...
* feat(vector): add conversion between vector and string
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix sqlness
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-20 08:42:00 +00:00
Weny Xu
027284ed1b
chore(cli): set default timeout for cli commands ( #5021 )
...
* chore(cli): set default timeout for cli commands
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* chore: update comments
* fix: treats `None` as `0s` to disable server-side default timeout
* chore: update comments
2024-11-20 07:36:17 +00:00
Ruihang Xia
6a958e2c36
feat: reimplement limit in PartSort to reduce memory footprint ( #5018 )
...
* feat: support windowed sort with where condition
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix split logic
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* modify fuzz test to reflect logic change
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* feat: handle sort that wont preserving partition
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix test case and add more cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* basic impl
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* install topk
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* tests: add test for limit
* add debug assertion
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: discord9 <discord9@163.com >
2024-11-20 07:11:49 +00:00
Zhenchi
db345c92df
feat(vector): remove simsimd and use nalgebra instead ( #5027 )
...
* feat(vector): remove `simsimd` and use `nalgebra` instead
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* keep thing simple
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-20 06:57:10 +00:00
Yohan Wal
55ced9aa71
refactor: split up different stmts ( #4997 )
...
* refactor: set and unset
* chore: error message
* fix: reset Cargo.lock
* Apply suggestions from code review
Co-authored-by: jeremyhi <jiachun_feng@proton.me >
* Apply suggestions from code review
Co-authored-by: Weny Xu <wenymedia@gmail.com >
---------
Co-authored-by: jeremyhi <jiachun_feng@proton.me >
Co-authored-by: Weny Xu <wenymedia@gmail.com >
2024-11-20 06:02:51 +00:00
discord9
3633f25d0c
feat: also shutdown gracefully on sigterm on unix ( #5023 )
...
* feat: support SIGTERM on unix
* chore: log
* fix: Result type
2024-11-19 15:20:33 +00:00
Yingwen
63bbfd04c7
fix: prune memtable/files range independently in each partition ( #4998 )
...
* feat: prune in each partition
* chore: change pick log to trace
* chore: add in progress partition scan to metrics
* feat: seqscan support pruning in partition
* chore: remove commented codes
2024-11-19 12:43:30 +00:00
Zhenchi
2f260d8b27
fix: android build failed due to simsimd ( #5019 )
...
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-19 11:21:58 +00:00
discord9
4d8fe29ea8
feat: CREATE OR REPLACE FLOW ( #5001 )
...
* feat: Replace flow
* refactor: better show create flow&tests: better check
* tests: sqlness result update
* tests: unit test for update
* refactor: cmp with raw bytes
* refactor: rename
* refactor: per review
2024-11-19 08:44:57 +00:00
Zhenchi
dbb3f2d98d
fix: inverted index constraint to be case-insensitive ( #5020 )
...
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-19 08:30:20 +00:00
ZonaHe
9926e3bc78
feat: update dashboard to v0.6.1 ( #5017 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2024-11-19 07:28:10 +00:00
dennis zhuang
0dd02e93cf
feat: make greatest supports timestamp and datetime types ( #5005 )
...
* feat: make greatest supports timestamp and datetime types
* chore: style
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
* refactor: greatest with gt_time_types macro
---------
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
2024-11-19 07:01:24 +00:00
Zhenchi
73e6bf399d
test: reduce round precision to avoid platform diff ( #5013 )
...
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-18 16:37:15 +00:00
discord9
4402f638cd
fix: distinct respect in range ( #5015 )
...
* fix: distinct respect in range
* tests: sqlness
* chore: newline
2024-11-18 12:11:07 +00:00
shuiyisong
c199604ece
feat: Loki remote write ( #4941 )
...
* chore: add debug loki remote write url
* chore: add decode snappy
* chore: format output
* feature: impl loki remote write
* fix: special labels deserialize
* chore: move result to folder
* chore: finish todo in loki write
* test: loki write
* chore: fix cr issue
* chore: fix cr issue
* chore: fix cr issue
* chore: update pre-commit config
* chore: fix cr issue
Co-authored-by: dennis zhuang <killme2008@gmail.com >
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2024-11-18 08:39:17 +00:00
Yohan Wal
2b72e66536
test: subquery test migrated from duckdb ( #4985 )
...
* test: subquery test migrated from duckdb
* test: update test
* test: skip unsupported features and add sources
2024-11-18 08:37:06 +00:00
Weny Xu
7c135c0ef9
feat: introduce DynamicTimeoutLayer ( #5006 )
...
* feat: introduce `DynamicTimeoutLayer`
* test: add unit test
* chore: apply suggestions from CR
* feat: add timeout option for cli
2024-11-18 07:10:40 +00:00
Weny Xu
9289265f54
fix: correct unset_maintenance_mode behavior ( #5009 )
2024-11-18 06:39:13 +00:00
Lanqing Yang
485782af51
fix: ensure Create Or Replace and If Not Exist cannot coexist in create view ( #5003 )
...
ensure Create Or Replace and If Not Exist cannot coexist in create view statement
2024-11-17 07:08:30 +00:00
Weny Xu
4b263ef1cc
fix: obsolete wal entires while opening a migrated region ( #4993 )
...
* fix: delete obsolete wal entrie while opening a migrated region
* chore: add logs
* chore: rust fmt
* fix: fix fuzz test
2024-11-15 10:55:22 +00:00
Weny Xu
08f59008cc
refactor: introduce MaintenanceModeManager ( #4994 )
...
* refactor: introduce MaintenanceModeManager
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* chore: apply suggestions from CR
2024-11-15 07:15:22 +00:00
Yohan Wal
a2852affeb
chore: rename change to modify ( #5000 )
...
* chore: rename change to modify
* chore: proto rev
2024-11-15 06:58:26 +00:00
Lanqing Yang
cdba7b442f
feat: implement statement/execution timeout session variable ( #4792 )
...
* support set and show on statement/execution timeout session variables.
* implement statement timeout for mysql read, and postgres queries
* add mysql test with max execution time
2024-11-15 06:19:39 +00:00
Lin Yihai
42bf7e9965
refactor: Avoid wrapping Option for CacheManagerRef ( #4996 )
2024-11-14 13:37:02 +00:00
discord9
a70b4d7eba
chore: update greptime-proto to e1070a ( #4992 )
...
* chore: update protot to e1070a
* fix: update proto usage
2024-11-14 11:59:00 +00:00
Zhenchi
408013c22b
feat: add distance functions ( #4987 )
...
* feat: add distance functions
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: f64 instead
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* tiny adjust
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-14 10:18:58 +00:00
zyy17
22c8a7656b
chore: update cluster dashboard ( #4995 )
2024-11-14 10:18:50 +00:00
discord9
35898f0b2e
test: more sqlness tests for flow ( #4988 )
...
* tests: more flow testcase
* tests(WIP): more tests
* tests: more flow tests
* test: wired regex for sqlness
* refactor: put blog&example to two files
2024-11-14 07:40:14 +00:00
zyy17
1101e98651
refactor(grafana): update cluster dashboard ( #4980 )
2024-11-14 07:12:30 +00:00
zyy17
0089cf1b4f
fix: run install.sh error ( #4989 )
...
* fix: use '/bin/sh' shebang and remove function key word
* ci: check install.sh in nightly CI
2024-11-13 21:54:24 +00:00
dennis zhuang
d7c3c8e124
fix: physical table statistics info ( #4975 )
...
* fix: physical table statistics info
* refactor: is_physical_table
* fix: remove file
2024-11-13 14:29:44 +00:00
Yohan Wal
f4b9eac465
build(deps): switch to upstream jsonb ( #4986 )
...
chore: jsonb
2024-11-13 11:15:37 +00:00
Yohan Wal
aa6c2de42a
refactor: use UNSET instead of enable ( #4983 )
...
* refactor: use UNSERT instead of enable
* fix: test
* chore: comment
2024-11-13 08:28:20 +00:00
discord9
175fddb3b5
fix: alter table add column id alloc mismatch ( #4972 )
...
* fix: alter table add column id alloc mismatch
* chore: remove debug code
* chore: typos
* chore: error variant
* chore: more checks for invariant
* refactor: better check&explain
* fix: exist column metadata correct
* chore: remove unused error variant
2024-11-13 07:02:35 +00:00
Lei, HUANG
6afc4e778a
refactor(mito): tidy memtable stats ( #4982 )
...
* wip: share same WriteMetrics struct between different memtable implementations
* refactor: extract function to update memtable timestamp range
2024-11-13 06:57:27 +00:00
Lanqing Yang
3bbcde8e58
feat: support alter twcs compaction options ( #4965 )
...
support alter twcs compression options
2024-11-13 06:27:32 +00:00
Weny Xu
3bf9981aab
refactor: support distinct JSON format and improve type conversions ( #4979 )
...
refactor: support distinct JSON format
2024-11-13 03:03:51 +00:00
Weny Xu
c47ad548a4
feat: refine region state checks and handle stalled requests ( #4971 )
...
* feat: refine region state checks and handle stalled requests
* test: add tests
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* chore: add comments
2024-11-13 02:51:27 +00:00
Lin Yihai
0b6d78a527
refactor: consolidate DatanodeClientOptions ( #4966 )
...
refactor!: consolidate `DatanodeClientOptions`
2024-11-12 09:57:41 +00:00
Zhenchi
d616bd92ef
feat: introduce vector type ( #4964 )
...
* feat: introduce vector type
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: fix prepared stmt
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: add grpc test
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: parse vector value
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: column to row
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: sqlness
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: merge issue
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* refactor: add check for bytes size
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* Update tests/cases/standalone/common/types/vector/vector.sql
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* chore: update proto
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* chore: simplify cargo
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* chore: address comment
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2024-11-12 08:28:44 +00:00
Yohan Wal
84aa5b7b22
feat: alter fulltext options ( #4952 )
...
* feat(WIP): alter fulltext index
Co-Authored-By: irenjj <renj.jiang@gmail.com >
* feat: alter column fulltext option
Co-Authored-By: irenjj <renj.jiang@gmail.com >
* chore: fmt
* test: add unit and integration tests
Co-Authored-By: irenjj <renj.jiang@gmail.com >
* test: update sqlness test
* chore: new line
* chore: lock file update
* chore: apply review comments
* test: update sqlness test
* test: update sqlness test
* fix: convert
* chore: apply review comments
* fix: toml fmt
* fix: tests
* test: add test for mito
* chore: error message
* fix: test
* fix: test
* fix: wrong comment
* chore: change proto rev
* chore: apply review comments
* chore: apply review comments
* chore: fmt
---------
Co-authored-by: irenjj <renj.jiang@gmail.com >
2024-11-12 03:04:04 +00:00
Zhenchi
cbf21e53a9
feat(puffin): apply range reader ( #4928 )
...
* wip
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* feat(puffin): apply range reader
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* refactor: read_vec reduce iteration
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* refactor: simplify rangereader for vec<u8>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: add unit test
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: toml format
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-12 02:36:38 +00:00
Zhenchi
6248a6ccf5
feat(index): support SQL to specify inverted index columns ( #4929 )
...
* feat(index): support building inverted index for the field column
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* feat(index): support SQL to specify inverted index columns
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* test: fix sqlness
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: consider compatibility
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* polish
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* compatibility
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: ignore case
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* refactor: reduce dup
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix: clippy
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-11 08:06:23 +00:00
localhost
0e0c4faf0d
fix(otlp): replace otlp trace attr type from string to jsonb ( #4918 )
...
* chore: minor update
* chore: replace otlp trace attr type from string to jsonb
* chore: add new util file and remove useless code
* chore: add license header
* chore: remove unused error
* chore: adjust otlp traces column order
* chore: update test
* chore: minor fix
---------
Co-authored-by: shuiyisong <xixing.sys@gmail.com >
v0.10.0-nightly-20241111
2024-11-08 06:34:49 +00:00
Kaifeng Zheng
1a02fc31c2
fix: json_path_exists null results ( #4881 )
...
* fix: result of nulls
* update test result
* fix null behaviors, add null tests
* update NULL tests
* error handler when parsing json_path
* change the logic to: items' datatype in the input arrays are all the same.
* remove a comment
* refactor: better logic
* drop unnecessary err check
* added an error test case
2024-11-08 03:01:45 +00:00
Ruihang Xia
8efbafa538
feat: support filter with windowed sort ( #4960 )
...
* feat: support windowed sort with where condition
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix split logic
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* modify fuzz test to reflect logic change
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* feat: handle sort that wont preserving partition
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix test case and add more cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-11-08 02:49:36 +00:00
Ruihang Xia
fcd0ceea94
fix: column already exists ( #4961 )
...
* fix: merge fetched logical metadata with existing cache
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix log acquire
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/metric-engine/src/engine/region_metadata.rs
Co-authored-by: Yingwen <realevenyag@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2024-11-07 13:25:05 +00:00
jeremyhi
22f31f5929
chore: paginated query region stats ( #4942 )
2024-11-07 03:01:12 +00:00