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
If all fields in the external table are missing, reading and writing will fail.
cnosdb-cli
CREATE TABLE air (visibility DOUBLE,temperature DOUBLE,pressure DOUBLE,TAGS(station));
gsql
openGauss=# create foreign table air (time timestamp, station text) server cnosdb_server options (tenant 'cnosdb', database 'public'); CREATE FOREIGN TABLE openGauss=# INSERT INTO air (TIME, station) VALUES (now(), 'XiaoMaiDao1'); ERROR: Fail to request remote server: sql: INSERT INTO public.air(time, station) VALUES (TIMESTAMP '2024-04-19 18:20:35.46244', 'XiaoMaiDao1'), reason: http status code: 422 Unprocessable Entity, response text: {"error_code":"020002","error_message":"Fields can't be empty"} openGauss=#
No response
The text was updated successfully, but these errors were encountered:
Because of the difficulty of coding, users now must check that the schema of the table in opengauss is the same as the schema of the table in cnosdb.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
If all fields in the external table are missing, reading and writing will fail.
To Reproduce
cnosdb-cli
gsql
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: