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

mainly spec/config updates #5792

Merged
merged 4 commits into from Sep 2, 2021
Merged

Conversation

Phlair
Copy link
Contributor

@Phlair Phlair commented Sep 1, 2021

@tuliren I've tried to strip this back to mostly useful structural changes I added here.

@github-actions github-actions bot added the area/connectors Connector related issues label Sep 1, 2021
@@ -56,6 +56,7 @@

private final ParquetWriter<Record> parquetWriter;
private final AvroRecordFactory avroRecordFactory;
public final Schema parquetSchema;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tuliren is there a better way to extract the schema from the parquet writer than this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the right way.

The schema is usually persisted at the beginning of the parquet file, but since we already have it here, we don't need to read it from the file.

@Phlair Phlair requested a review from tuliren September 1, 2021 18:06
@tuliren tuliren merged commit 5779333 into george/hotload-jar Sep 2, 2021
@tuliren tuliren deleted the george/databricks-jdbc branch September 2, 2021 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants