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

Issue 13: Initial Check in of the S3 Connector #19

Merged
merged 65 commits into from
Jul 15, 2021

Conversation

karansinghneu
Copy link
Collaborator

@karansinghneu karansinghneu commented May 10, 2021

This PR fixes Issue #13:

  1. Added all the source code for the standalone presto-s3-connector
  2. Added functionality for JSON Writes and Parquet Reads

@karansinghneu karansinghneu requested review from fpj, adrdc and chipmaurer May 10, 2021 17:05
Copy link
Collaborator

@fpj fpj left a comment

Choose a reason for hiding this comment

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

Please fix the license headers, see comment.

gradle.properties Outdated Show resolved Hide resolved
@karansinghneu karansinghneu requested a review from fpj June 8, 2021 22:25
Copy link
Collaborator

@fpj fpj left a comment

Choose a reason for hiding this comment

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

Thanks for the change, @karansinghneu . A couple of other things:

1- Could you make sure that scripts also have the boilerplate notice header in addition to the Java class files? In general, if you are not sure, then put the license header as it causes no harm. Configuration files and generated code don't need it.
2- I see a bunch of /var/log files being included, and I assume that are being included by accident. If I'm right, then can we remove them, please?

gradle.properties Outdated Show resolved Hide resolved
@karansinghneu karansinghneu requested a review from fpj June 9, 2021 16:45
Copy link
Collaborator

@fpj fpj left a comment

Choose a reason for hiding this comment

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

Thanks, @karansinghneu . A couple more comments.

@@ -0,0 +1,43 @@
#!/bin/sh

export MINIO_DOCKER_NAME=test-minio
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need these minio scripts, could you explain? Are we copying it from somewhere else? If so, we need to acknowledge the corresponding copyright.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These scripts are written by Chip in order to spin up a minio & schema-registry server to test our connector during development.

src/test/bin/schema_registry_stop.sh Outdated Show resolved Hide resolved
Copy link
Collaborator

@chipmaurer chipmaurer left a comment

Choose a reason for hiding this comment

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

Let's get this merged soon!

chipmaurer added 18 commits July 1, 2021 13:55
Signed-off-by: Chip Maurer <[email protected]>
Signed-off-by: Chip Maurer <[email protected]>
Signed-off-by: Chip Maurer <[email protected]>
Signed-off-by: Chip Maurer <[email protected]>
Signed-off-by: Chip Maurer <[email protected]>
Signed-off-by: Chip Maurer <[email protected]>
build.gradle Outdated Show resolved Hide resolved
etc/catalog/s3.properties Outdated Show resolved Hide resolved
etc/config.properties Outdated Show resolved Hide resolved
etc/log.properties Outdated Show resolved Hide resolved
src/main/java/com/facebook/presto/s3/BytesLineReader.java Outdated Show resolved Hide resolved
src/main/java/com/facebook/presto/s3/S3SplitSource.java Outdated Show resolved Hide resolved
src/main/resources/log4j.properties Outdated Show resolved Hide resolved
@chipmaurer chipmaurer requested a review from fpj July 7, 2021 21:28
Copy link
Collaborator

@fpj fpj left a comment

Choose a reason for hiding this comment

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

@karansinghneu could clarify the status of this comment in the PR description:

Requires a fix for the stack corruption of the gradle build (can be fixed temporarily in the S3TableHandle class)

if anything has changed about it, please update the PR description accordingly.

@chipmaurer
Copy link
Collaborator

@fpj - I have updated the PR description. There is no 'fix' for stack corruption needed.

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.

4 participants