zyy17
03a2e6d0c1
feat: support elasticsearch _bulk API to ingest logs ( #5261 )
...
* feat: support elasticsearch '_bulk' API to ingest logs
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: code review
* refactor: add metrics
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-01-08 14:54:53 +00:00
Yingwen
c19a56c79f
feat!: Remove script crate and python feature ( #5321 )
...
* feat: exclude script crate
* chore: simplify feature
* feat: remove the script crate
* chore: remove python feature and some comments
* chore: fix warning
2025-01-08 12:11:53 +00:00
Weny Xu
7f307a4cac
feat: auto detecting local IP to use as hostname ( #5314 )
...
* feat: auto detecting hostname
* chore: update config.md
* chore: bring back hostname
* chore: apply suggestions from CR
* chore: use const
* chore: apply suggesions from CR
* fix: fix sqlness
2025-01-08 12:06:31 +00:00
shuiyisong
d1f8ea7880
perf: parse Loki labels in protobuf write path ( #5305 )
...
* chore: parse loki labels
* chore: add bench
* chore: add comment
* chore: add test
* chore: remove unnecessory default value and update test
* fix: typo and test
* chore: cr issue
* chore: cr issue
2025-01-08 07:55:06 +00:00
shuiyisong
a56c430db0
fix: pass unknown encoding in decompression layer ( #5300 )
...
fix: allow pass unknown in decompression layer
2025-01-06 09:10:56 +00:00
shuiyisong
bbbba29afc
feat: support Loki JSON write ( #5288 )
...
* perf: small updates
* refactor: move loki to a separate file
* chore: extract content_type pattern matching
* chore: minor update
* feat: loki json write
* chore: add decompression http layer
* fix: label string value instead of to_string
* chore: add test
* fix: typo
* fix: license header
* chore: rename
2025-01-06 07:09:48 +00:00
jeremyhi
e0949c4a11
feat: hints all in one ( #5194 )
...
* feat: hints all in one
* chore: If hints are provided in the x-greptime-hints header, ignore the rest of the headers
2025-01-02 02:56:33 +00:00
zyy17
13ed10556a
refactor: support to convert time string to timestamp in convert_value() ( #5242 )
...
refactor: support to covert time string to timestamp in convert_value()
2024-12-30 08:36:08 +00:00
localhost
0cf44e1e47
chore: add more info for pipeline dryrun API ( #5232 )
2024-12-26 03:06:25 +00:00
discord9
abf34b845c
feat(flow): check sink table mismatch on flow creation ( #5112 )
...
* tests: more mismatch errors
* feat: check sink table schema if exists&prompt nice err msg
* chore: rm unused variant
* chore: fmt
* chore: cargo clippy
* feat: check schema on create
* feat: better err msg when mismatch
* tests: fix a schema mismatch
* todo: create sink table
* feat: create sink table
* fix: find time index
* tests: auto created sink table
* fix: remove empty keys
* refactor: per review
* chore: fmt
* test: sqlness
* chore: after rebase
2024-12-25 13:42:37 +00:00
zyy17
5e88c80394
feat: introduce the Limiter in frontend to limit the requests by in-flight write bytes size. ( #5231 )
...
feat: introduct Limiter to limit in-flight write bytes size in frontend
2024-12-25 09:11:30 +00:00
Ruihang Xia
68dd2916fb
feat: logs query endpoint ( #5202 )
...
* define endpoint
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* planner
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update lock file
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add unit test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix toml format
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* revert metric change
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/query/src/log_query/planner.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix compile
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refactor and tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2024-12-24 06:21:19 +00:00
jeremyhi
9b4e8555e2
feat: extract hints from http header ( #5128 )
...
* feat: extract hints from http header
* Update src/servers/src/http/hints.rs
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
* chore: by comment
* refactor: get instead of loop
---------
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
2024-12-18 08:17:34 +00:00
ZonaHe
88f7075a2a
feat: update dashboard to v0.7.3 ( #5172 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-16 10:56:41 +00:00
shuiyisong
9d7fea902e
chore: remove unused dep ( #5163 )
...
* chore: remove unused dep
* chore: remove more unused dep
2024-12-16 06:17:27 +00:00
localhost
53d55c0b6b
fix: loki write row len error ( #5161 )
2024-12-13 10:10:59 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Yohan Wal
1255638e84
refactor: unify mysql execute through cli and protocol ( #5038 )
...
refactor: mysql execute
2024-11-22 03:55:09 +00:00
Yohan Wal
1578c004b0
fix: prepare param mismatch ( #5025 )
...
* fix: prepare param mismatch
* test: clear state
* fix: minus 1
2024-11-22 02:31:53 +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
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
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
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
3bf9981aab
refactor: support distinct JSON format and improve type conversions ( #4979 )
...
refactor: support distinct JSON format
2024-11-13 03:03:51 +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
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 >
2024-11-08 06:34:49 +00:00
discord9
ac387bd2af
fix: pprof ( #4938 )
2024-11-05 09:22:29 +00:00
LFC
2e9737c01d
refactor: pass LogicalPlan to promql execution interceptor ( #4937 )
2024-11-05 08:49:05 +00:00
Ning Sun
a8b426aebe
feat: add more geo functions ( #4888 )
...
* chore: add type conversion for array types
* feat: add h3_cells_contains
* refactor: resolve lint issues
* feat: add sphere distance function
* feat: euclidean distance between h3 centroids
* test: round float number
* feat: add more geospatial functions
* test: add tests for geometry functions
* refactor: move wkt function to dedicated module
* feat: add st_area
* refactor: only allow sphere distance between points
2024-11-05 03:44:25 +00:00
Weny Xu
f221ee30fd
fix: violations of elided_named_lifetimes ( #4936 )
2024-11-04 10:52:39 +00:00
dennis zhuang
7a4276c24a
fix: typo ( #4931 )
...
fix/database-base-ttl:
Fix typos in comments and function names across multiple modules
- Correct spelling of 'parallelism' in region_server, engine, and scan_region modules
- Amend typo in TODO comment from 'persisent' to 'persistent' in server module
- Update incorrect test query from 'versiona' to 'version' in federated module tests
Co-authored-by: Lei, HUANG <mrsatangel@gmail.com >
2024-11-04 01:56:11 +00:00
Ning Sun
69420793e2
feat: implement parse_query api ( #4860 )
...
* feat: implement parse_query api
* chore: switch to upstream
* fix: add post method for parse_query
* chore: bump promql-parser
* test: use latest promql ast serialization
2024-10-30 12:16:22 +00:00
dennis zhuang
a34035a1f2
fix: set transaction variables not working in mysql protocol ( #4912 )
2024-10-30 10:59:13 +00:00
LFC
fd8eba36a8
refactor: make use of the "pre_execute" in sql execution interceptor ( #4875 )
...
* feat: dynamic definition of plugin options
* rebase
* revert
* fix ci
2024-10-30 09:16:46 +00:00
Yohan Wal
8ed5bc5305
refactor: json conversion ( #4893 )
...
* refactor: json type update
* test: update test
* fix: convert when needed
* revert: leave sqlness tests unchanged
* fix: fmt
* refactor: just refactor
* Apply suggestions from code review
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* refactor: parse jsonb first
* test: add bad cases
* Update src/datatypes/src/vectors/binary.rs
Co-authored-by: Weny Xu <wenymedia@gmail.com >
* fix: fmt
* fix: fix clippy/check
---------
Co-authored-by: Weny Xu <wenymedia@gmail.com >
2024-10-29 15:46:24 +00:00
discord9
2485f66077
chore: graceful exit on bind fail ( #4882 )
2024-10-25 09:29:39 +00:00