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
We expect the postgres sink are ultimately able to pass this test. We'll need to add this test to https://github.com/risingwavelabs/risingwave/tree/main/integration_tests/postgres-sink
CREATE TABLE data_types ( id BIGINT PRIMARY KEY, varchar_column VARCHAR, text_column TEXT, integer_column INTEGER, smallint_column SMALLINT, bigint_column BIGINT, decimal_column DECIMAL, real_column REAL, double_column DOUBLE PRECISION, boolean_column BOOLEAN, date_column DATE, time_column TIME, timestamp_column TIMESTAMP, timestamptz_column TIMESTAMPTZ, interval_column INTERVAL, jsonb_column JSONB, bytea_column BYTEA, array_column VARCHAR[] ); INSERT INTO data_types (id, varchar_column, text_column, integer_column, smallint_column, bigint_column, decimal_column, real_column, double_column, boolean_column, date_column, time_column, timestamp_column, timestamptz_column, interval_column, jsonb_column, bytea_column, array_column) VALUES (1, 'Varchar value 1', 'Text value 1', 123, 456, 789, 12.34, 56.78, 90.12, TRUE, '2023-05-22', '12:34:56', '2023-05-22 12:34:56', '2023-05-22 12:34:56+00:00', '1 day', '{"key": "value"}', E'\\xDEADBEEF', ARRAY['Value 1', 'Value 2']), (2, 'Varchar value 2', 'Text value 2', 234, 567, 890, 23.45, 67.89, 01.23, FALSE, '2023-05-23', '23:45:01', '2023-05-23 23:45:01', '2023-05-23 23:45:01+00:00', '2 days', '{"key": "value2"}', E'\\xFEEDBEEF', ARRAY['Value 3', 'Value 4']), (3, 'Varchar value 3', 'Text value 3', 345, 678, 901, 34.56, 78.90, 12.34, TRUE, '2023-05-24', '12:34:56', '2023-05-24 12:34:56', '2023-05-24 12:34:56+00:00', '3 days', '{"key": "value3"}', E'\\xCAFEBABE', ARRAY['Value 5', 'Value 6']), (4, 'Varchar value 4', 'Text value 4', 456, 789, 012, 45.67, 89.01, 23.45, FALSE, '2023-05-25', '23:45:01', '2023-05-25 23:45:01', '2023-05-25 23:45:01+00:00', '4 days', '{"key": "value4"}', E'\\xBABEC0DE', ARRAY['Value 7', 'Value 8']), (5, 'Varchar value 5', 'Text value 5', 567, 890, 123, 56.78, 90.12, 34.56, TRUE, '2023-05-26', '12:34:56', '2023-05-26 12:34:56', '2023-05-26 12:34:56+00:00', '5 days', '{"key": "value5"}', E'\\xDEADBABE', ARRAY['Value 9', 'Value 10']); CREATE SINK data_types_postgres_sink FROM data_types WITH ( connector = 'jdbc', jdbc.url = 'jdbc:postgresql://postgres:5432/mydb?user=myuser&password=123456', table.name = 'data_types', type='upsert' );
The text was updated successfully, but these errors were encountered:
I'll take a look first.
Sorry, something went wrong.
StrikeW
wugouzi
Successfully merging a pull request may close this issue.
We expect the postgres sink are ultimately able to pass this test. We'll need to add this test to https://github.com/risingwavelabs/risingwave/tree/main/integration_tests/postgres-sink
The text was updated successfully, but these errors were encountered: