mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-09 06:42:57 +00:00
* feat: add json type and vector * fix: allow to create and insert json data * feat: udf to query json as string * refactor: remove JsonbValue and JsonVector * feat: show json value as strings * chore: make ci happy * test: adunit test and sqlness test * refactor: use binary as grpc value of json * fix: use non-preserve-order jsonb * test: revert changed test * refactor: change udf get_by_path to jq * chore: make ci happy * fix: distinguish binary and json in proto * chore: delete udf for future pr * refactor: remove Value(Json) * chore: follow review comments * test: some tests and checks * test: fix unit tests * chore: follow review comments * chore: corresponding changes to proto * fix: change grpc and pgsql server behavior alongside with sqlness/crud tests * chore: follow review comments * feat: udf of conversions between json and strings, used for grpc server * refactor: rename to_string to json_to_string * test: add more sqlness test for json * chore: thanks for review :) * Apply suggestions from code review --------- Co-authored-by: Weny Xu <wenymedia@gmail.com>
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[package]
|
|
name = "common-function"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["geo"]
|
|
geo = ["geohash", "h3o"]
|
|
|
|
[dependencies]
|
|
api.workspace = true
|
|
arc-swap = "1.0"
|
|
async-trait.workspace = true
|
|
common-base.workspace = true
|
|
common-catalog.workspace = true
|
|
common-error.workspace = true
|
|
common-macro.workspace = true
|
|
common-meta.workspace = true
|
|
common-query.workspace = true
|
|
common-runtime.workspace = true
|
|
common-telemetry.workspace = true
|
|
common-time.workspace = true
|
|
common-version.workspace = true
|
|
datafusion.workspace = true
|
|
datatypes.workspace = true
|
|
geohash = { version = "0.13", optional = true }
|
|
h3o = { version = "0.6", optional = true }
|
|
jsonb.workspace = true
|
|
num = "0.4"
|
|
num-traits = "0.2"
|
|
once_cell.workspace = true
|
|
paste = "1.0"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
session.workspace = true
|
|
snafu.workspace = true
|
|
sql.workspace = true
|
|
statrs = "0.16"
|
|
store-api.workspace = true
|
|
table.workspace = true
|
|
|
|
[dev-dependencies]
|
|
ron = "0.7"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio.workspace = true
|