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

Add DEDUP statement to Copy schema to clipboard feature #184

Closed
insmac opened this issue Aug 14, 2023 · 1 comment · Fixed by #235 · May be fixed by #190
Closed

Add DEDUP statement to Copy schema to clipboard feature #184

insmac opened this issue Aug 14, 2023 · 1 comment · Fixed by #235 · May be fixed by #190
Assignees
Labels
web-console Issues relevant to "web-console" package

Comments

@insmac
Copy link
Contributor

insmac commented Aug 14, 2023

Currently, the Copy schema to clipboard feature that generates the SQL to create a table does not take deduplication keys into consideration (omits DEDUP UPSERT keys(key1, key2) from the statement).

Solution: Add the statement if needed, along with a key list.

@insmac insmac added the web-console Issues relevant to "web-console" package label Aug 14, 2023
@insmac insmac self-assigned this Aug 14, 2023
@jerrinot
Copy link
Contributor

@insmac I just stumbled upon this. it would be great to have it fixed.
fwiw: I am not sure whether the web console should generate DDLs out of columnar metadata. shouldn't we rather have a server-side function for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web-console Issues relevant to "web-console" package
Projects
None yet
2 participants