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

feat(jdbc): add postQuery parameter #414

Merged
merged 2 commits into from
Feb 28, 2021
Merged

feat(jdbc): add postQuery parameter #414

merged 2 commits into from
Feb 28, 2021

Conversation

lyogev
Copy link
Contributor

@lyogev lyogev commented Feb 23, 2021

No description provided.

@cyrillay
Copy link

Tested today on EMR and it worked like a charm, also with multiple queries on the same output. (I also didn't need to add ?allowMultiQueries=true on the JDBC connection URL)

- dataFrameName: df_item
  outputType: JDBC
  outputOptions:
    saveMode: Overwrite
    dbTable: item
    postQuery: CREATE INDEX index_item_key ON item(item_key(30));CREATE INDEX index_item_key_2 ON item(item_key_2(30));

@lyogev lyogev merged commit 26969b0 into master Feb 28, 2021
@lyogev lyogev deleted the add_post_query branch February 28, 2021 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants