Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The error message show the json type is not supported #19

Open
gangtao opened this issue Jun 9, 2022 · 6 comments
Open

The error message show the json type is not supported #19

gangtao opened this issue Jun 9, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@gangtao
Copy link
Collaborator

gangtao commented Jun 9, 2022

the query from front end returns following error:
image

proton-client works fine:

show create jsonstream

SHOW CREATE TABLE jsonstream

Query id: 5de49d3e-c632-46dd-9b30-4294a7b1e9fb

┌─statement──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ CREATE STREAM default.jsonstream
(`c1` json, `_tp_time` datetime64(3, 'UTC') DEFAULT now64(3, 'UTC') CODEC(DoubleDelta, LZ4), `_tp_index_time` datetime64(3, 'UTC') CODEC(DoubleDelta, LZ4)
)
ENGINE = Stream(1, 1, rand())
PARTITION BY to_YYYYMM(_tp_time)
ORDER BY to_YYYYMMDD(_tp_time)
SETTINGS subtype = 'tabular', index_granularity = 8192 │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

1 rows in set. Elapsed: 0.005 sec. 
select * from table(jsonstream);

SELECT
  *
FROM
 table(jsonstream)

Query id: 6c8785aa-9cd4-4ece-827a-888c64a8c959

┌─c1────────────┬────────────────_tp_time─┬──────────_tp_index_time─┐
│ {"a":1,"b":0} │ 2022-06-09 17:51:14.499 │ 2022-06-09 17:51:16.499 │
│ {"a":2,"b":1} │ 2022-06-09 17:51:14.499 │ 2022-06-09 17:51:16.499 │
└───────────────┴─────────────────────────┴─────────────────────────┘

2 rows in set. Elapsed: 0.004 sec. 
@gangtao gangtao added the bug Something isn't working label Jun 9, 2022
@jovezhong
Copy link
Collaborator

(Jove Github Bot) assuming it is not done, deferred this ticket to the next sprint.

@jovezhong
Copy link
Collaborator

is this resolved? @qijun-niu-timeplus , @chenziliang ?

@jovezhong
Copy link
Collaborator

(Jove Github Bot) assuming it is not done, deferred this ticket to the next sprint.

3 similar comments
@jovezhong
Copy link
Collaborator

(Jove Github Bot) assuming it is not done, deferred this ticket to the next sprint.

@jovezhong
Copy link
Collaborator

(Jove Github Bot) assuming it is not done, deferred this ticket to the next sprint.

@jovezhong
Copy link
Collaborator

(Jove Github Bot) assuming it is not done, deferred this ticket to the next sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants