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

Do not write implicit NULL to other columns when inserting in JDBC connectors #1185

Closed
findepi opened this issue Jul 25, 2019 · 1 comment
Closed
Assignees
Milestone

Comments

@findepi
Copy link
Member

findepi commented Jul 25, 2019

Consider PostgreSQL table

CREATE TABLE t(a bigint, b bigint default 42);

Now in Presto

INSERT INTO t(a) VALUES (1);
SELECT * FROM t;

Result:

1 | NULL

Expected

1 | 42
@findepi
Copy link
Member Author

findepi commented Jan 23, 2020

Fixed by #2265

@findepi findepi closed this as completed Jan 23, 2020
@findepi findepi added this to the 330 milestone Jan 23, 2020
@findepi findepi mentioned this issue Jan 23, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants