Lei, HUANG
76640402ba
fix: update cargo lock ( #1375 )
2023-04-13 11:08:35 +08:00
discord9
c20dbda598
feat: from/to numpy&collect concat ( #1339 )
...
* feat: from/to numpy&collect concat
* feat: PyRecordBatch
* test: try import first,allow w/out numpy/pyarrow
* fix: cond compile flag
* doc: license
* feat: sql() ret PyRecordBatch&repr
* fix: after merge
* style: fmt
* chore: CR advices
* docs: update
* chore: resolve conflict
2023-04-13 10:46:25 +08:00
LFC
33dbf7264f
refactor: unify the execution of show stmt ( #1340 )
...
* refactor: unify the execution of show stmt
2023-04-12 23:09:07 +08:00
discord9
716bde8f04
feat: benchmark some python script ( #1356 )
...
* test: bench rspy&pyo3
* docs: add TODO
* api heavy
* Update src/script/benches/py_benchmark.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* style: toml fmt
* test: use `rayon` for threadpool
* test: compile first, run later
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-12 18:19:02 +08:00
ZonaHe
9f2825495d
feat: update dashboard to v0.1.0 ( #1370 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2023-04-12 17:08:10 +08:00
localhost
ae21c1c1e9
chore: set keep lease heartbeat log level to trace ( #1364 )
...
Co-authored-by: paomian <qtang@greptime.com >
2023-04-12 09:38:49 +08:00
Ruihang Xia
6b6617f9cb
build: specify clippy denies in cargo config ( #1351 )
...
* build: specify clippy denies in cargo config
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* deny implicit clone
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-11 09:48:52 +00:00
shuiyisong
d5f0ba4ad9
refactor: merge authenticate and authorize api ( #1360 )
...
* chore: add auth api
* chore: update pg using auth api
* chore: update grpc using auth api
* chore: update http using auth api
2023-04-11 17:28:07 +08:00
Eugene Tolbakov
e021da2eee
feat(promql): add holt_winters initial implementation ( #1342 )
...
* feat(promql): add holt_winters initial implementation
* feat(promql): improve docs for holt_winters
* feat(promql): adjust holt_winters implementation according to code review
* feat(promql): add holt_winters test from prometheus promql function test suite
* feat(promql): add holt_winters more tests from prometheus promql function test suite
* feat(promql): fix styling issue
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-11 17:04:35 +08:00
Weny Xu
fac9c17a9b
feat: implement infer schema from single file ( #1348 )
...
* feat: implement infer schema from file
* feat: implement compression type
* refactor: remove unnecessary BufReader
* refactor: remove SyncIoBridge and using tokio_util::io::SyncIoBridge instead
* chore: apply suggestions from CR
2023-04-11 16:59:30 +08:00
Weny Xu
dfc2a45de1
docs: treat slack as the first-class citizen ( #1361 )
2023-04-11 16:59:17 +08:00
Lei, HUANG
3e8ec8b73a
fix: avoid panic when no region found in table ( #1359 )
2023-04-11 16:58:18 +08:00
Weny Xu
a90798a2c1
test: add tests for file table engine ( #1353 )
...
* test: add tests for file table engine
* test: refactor open table test and add close engine test
2023-04-11 06:25:08 +00:00
Lei, HUANG
f5cf5685cc
feat!: parsing local timestamp ( #1352 )
...
* fix: parse and display timestamp/datetime in local time zone
* fix display
* fix: unit tests
* change time zone env
* fix: remove useless code
2023-04-11 12:54:15 +08:00
localhost
1a21a6ea41
chore: set metasrv and datanode heartbeat log level to trace ( #1357 )
2023-04-11 11:21:29 +08:00
Ruihang Xia
09f003d01d
fix: lots of corner cases in PromQL ( #1345 )
...
* adjust plan ordering
fix offset logic
ignore empty range vector
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: different NaN logic between instant and range selector
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: enlarge selector time window
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* revert change about stale NaN
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename variables
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* one more rename
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-10 09:05:24 +00:00
Weny Xu
29c6155ae3
feat: introduce file table engine ( #1323 )
...
* feat: introduce file table engine
* chore: apply cr suggestions
* refactor: refactor immutable manifest
* chore: apply cr suggestions
* refactor: refactor immutable manifest
* chore: apply suggestions from code review
Co-authored-by: dennis zhuang <killme2008@gmail.com >
* chore: apply suggestions from CR
* chore: apply suggestions from code review
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
2023-04-10 12:03:36 +08:00
Weny Xu
804348966d
chore: amend fmt-toml ( #1347 )
2023-04-10 11:42:36 +08:00
Lei, HUANG
b7bdee6de9
feat: ignoring time zone info when import from external files ( #1341 )
...
* feat: ignore timezone info when copy from external files
* chore: rebase onto develop
2023-04-10 11:41:34 +08:00
Lei, HUANG
c850e9695a
fix: stream inserts when copying from external file ( #1338 )
...
* fix: stream inserts when copying from external file
* fix: reset pending bytes once insertion succeeds
* Update src/datanode/src/sql/copy_table_from.rs
Co-authored-by: LFC <bayinamine@gmail.com >
---------
Co-authored-by: LFC <bayinamine@gmail.com >
2023-04-10 10:44:12 +08:00
LFC
a3e47955b8
feat: information schema ( #1327 )
...
* feat: basic information schema
* show information schema only for current catalog
* fix: fragile tests
v0.2.0-nightly-20230410
2023-04-07 16:50:14 +08:00
zyy17
554a69ea54
refactor: add disable_dashboard option and disable dashboard in metasrv and datanode ( #1343 )
...
* refactor: add disable_dashboard option and disable dashboard in metasrv and datanode
* refactor: skip disable_dashboard filed in toml file
* refactor: simplify the http initialization
2023-04-07 16:45:25 +08:00
LFC
f8b6a6b219
fix!: not allowed to create column name same with keyword without quoted ( #1333 )
...
* fix: not allowed to create column name same with keyword without quoted
* fix: tests
* Update src/sql/src/parsers/create_parser.rs
Co-authored-by: Ning Sun <classicning@gmail.com >
* fix: tests
---------
Co-authored-by: Ning Sun <classicning@gmail.com >
2023-04-06 15:34:26 +08:00
dennis zhuang
dce0adfc7e
chore: readme ( #1318 )
2023-04-06 13:20:08 +08:00
Ruihang Xia
da66138e80
refactor(error): remove backtrace, and introduce call-site location for debugging ( #1329 )
...
* wip: global replace
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix compile
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix warnings
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove unneeded tests of errors
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix ErrorExt trait implementator
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix warnings
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix format
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix pyo3 tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-06 04:06:00 +00:00
Lei, HUANG
d10de46e03
feat: support timestamp precision on creating table ( #1332 )
...
* feat: support timestamp precision on creating table
* fix sqlness
* fix: substrait representation of different timestamp precision
2023-04-06 11:18:20 +08:00
Eugene Tolbakov
59f7630000
feat: initial changes for compaction_time_window field support ( #1083 )
...
* feat(compaction_time_window): initial changes for compaction_time_window field support
* feat(compaction_time_window): move PickerContext creation
* feat(compaction_time_window): update region descriptor, fix formatting
* feat(compaction_time_window): add minor enhancements
* feat(compaction_time_window): fix failing test
* feat(compaction_time_window): return an error instead silently skip for the user provided compaction_time_window
* feat(compaction_time_window): add TODO reminder
2023-04-06 10:32:41 +08:00
Hao
a6932c6a08
feat: implement deriv function ( #1324 )
...
* feat: implement deriv function
* docs: add docs for linear regression
* test: add test for deriv
2023-04-05 13:42:07 +08:00
Ruihang Xia
10593a5adb
fix: update sqlness result ( #1328 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-04 22:47:55 +08:00
dennis zhuang
bf8c717022
feat: try to do manifest checkpoint on opening region ( #1321 )
2023-04-04 21:36:54 +08:00
localhost
aa9f6c344c
chore: minor fix about metrics component ( #1322 )
...
* typo: fix StartMetricsExport error message error
* bug: add metrics http handler for frontend node
2023-04-04 19:31:06 +08:00
Ruihang Xia
99353c6ce7
refactor: rename "value" semantic type to "field" ( #1326 )
...
* global replace
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change desc table
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-04 11:14:28 +00:00
Ruihang Xia
a2d8804129
feat: impl __field__ special matcher to project value columns ( #1320 )
...
* plan new come functions
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* implement __value__ matcher
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change __value__ to __field__
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add bad-case tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename variables
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-04 09:08:50 +00:00
Weny Xu
637a4a2a58
docs: file external table RFC ( #1274 )
2023-04-04 10:41:17 +08:00
Weny Xu
ef134479ef
feat: support multi table engines in distributed mode ( #1316 )
...
* chore: bump greptime-proto to 59afacd
* feat: support multi table engines in distributed mode
2023-04-04 10:27:08 +08:00
Weny Xu
451f9d2d4e
feat: support multi table engines ( #1277 )
...
* feat: support multi table engines
* refactor: adapt SqlHandler to support multiple table engines
* refactor: refactor TableEngineManager
* chore: apply review suggestions
* chore: apply review suggestions
* chore: apply review suggestions
* chore: snafu context styling
2023-04-03 14:49:12 +00:00
dennis zhuang
68d3247791
chore: tweak logs ( #1314 )
...
* chore: tweak logs
* chore: cr comments
2023-04-03 21:08:16 +08:00
Eugene Tolbakov
2458b4edd5
feat(changes): add initial implementation ( #1304 )
...
* feat(changes): add initial implementation
* feat(changes): add docs
2023-04-03 12:02:13 +08:00
Eugene Tolbakov
5848f27c27
feat(resets): add initial implementation ( #1306 )
2023-04-03 11:37:01 +08:00
LFC
215cea151f
refactor: move PromQL execution to Frontend ( #1297 )
...
* refactor: move PromQL execution to Frontend
2023-04-03 11:34:03 +08:00
Hao
a82f1f564d
feat: implement stdvar_over_time function ( #1291 )
...
* feat: implement stdvar_over_time function
* feat: add more test for stdvar_over_time
* feat: add stdvar_over_time to functions.rs
2023-04-03 10:01:25 +08:00
LFC
48c2841e4d
feat: execute python script in distributed mode ( #1264 )
...
* feat: execute python script in distributed mode
* fix: rebase develop
v0.2.0-nightly-20230403
2023-04-02 20:36:48 +08:00
Lei, HUANG
d2542552d3
fix: unit test fails when try to copy table to s3 and copy back ( #1302 )
...
fix: unit test fails when try to copy table to s3 and copy back to greptimedb
2023-04-02 16:43:44 +08:00
Ruihang Xia
c0132e6cc0
feat: impl quantile_over_time function ( #1287 )
...
* fix qualifier alias
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix in another way
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* impl quantile_over_time
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-02 16:20:32 +08:00
dennis zhuang
aea932b891
fix: checkpoint fails when deleting old logs fails ( #1300 )
2023-04-02 11:06:36 +08:00
Lei, HUANG
0253136333
feat: buffered parquet writer ( #1263 )
...
* wip: use
* rebase develop
* chore: fix typos
* feat: replace export parquet writer with buffered writer
* fix: some cr comments
* feat: add sst_write_buffer_size config item to config how many bytes to buffer before flush to underlying storage
* chore: reabse onto develop
2023-04-01 17:21:19 +08:00
Eugene Tolbakov
6a05f617a4
feat(stddev_over_time): add initial implementation ( #1289 )
...
* feat(stddev_over_time): add initial implementation
* feat(stddev_over_time): address code review remarks, add compensated summation
* feat(stddev_over_time): fix fmt issues
* feat(stddev_over_time): add docs, minor renamings
2023-04-01 17:16:51 +08:00
localhost
a2b262ebc0
chore: add http metrics server in datanode node when greptime start in distributed mode ( #1256 )
...
* chore: add http metrics server in datanode node when greptime start in distributed mode
* chore: add some docs and license
* chore: change metrics_addr to resolve address already in use error
* chore add metrics for meta service
* chore: replace metrics exporter http server from hyper to axum
* chore: format
* fix: datanode mode branching error
* fix: sqlness test address already in use and start metrics in defualt config
* chore: change metrics location
* chore: use builder pattern to builder httpserver
* chore: remove useless debug_assert macro in httpserver builder
* chore: resolve conflicting build error
* chore: format code
2023-03-31 18:37:52 +08:00
dennis zhuang
972f64c3d7
chore: improve opendal layers ( #1295 )
...
* chore: improve opendal layers
* chore: log level
2023-03-31 09:48:11 +00:00
LFC
eb77f9aafd
feat: start LocalManager in Metasrv ( #1279 )
...
* feat: procedure store in Metasrv, backed by Etcd; start `LocalManager` in Metasrv leader
* fix: resolve PR comments
* fix: resolve PR comments
2023-03-31 15:32:59 +08:00