We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. if schema is predefined, data can be inserted by inserting statement.
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
What about:
INSERT INTO tb_name [TAGS (tag1_value, ...)] [(field1_name, ...)] VALUES (field1_value, ...) [(field1_value2, ...) ...]
INSERT INTO d1001 tags("sh", "1.1.1.1") VALUES (now(), 10.2, 219, 0.32);
INSERT INTO d1001 VALUES ('2021-07-13 14:06:32.272', 10.2, 219, 0.32), (1626164208000, 10.15, 217, 0.33), (now()-1s, 1, 2, 3);
-- ts or timestamp ? INSERT INTO d1001 (ts, current, phase) VALUES (now(), 10.27, 0.31);
ref tdengine
Sorry, something went wrong.
I think it is difficult to define the type of fields in insert statement. So not allow table creation during insertion.
Steps:
create table if not exist cpu ( host tag, ip tag, load last, temperature max );
-- single INSERT INTO cpu (timestamp, host, ip, load) VALUES (now(), "sh","1.1.1.1",4); -- batch INSERT INTO cpu (timestamp, host, ip, load) VALUES (now(), "sh","1.1.1.1",4), (now(), "sh","1.1.1.2",5), (now(), "sh","1.1.1.3",4), ;
also depend(#1015 )
No branches or pull requests
Is your feature request related to a problem? Please describe.
if schema is predefined, data can be inserted by inserting statement.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: