-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
S3, GCS Destinations : Fix interface duplication #9577
Conversation
@@ -73,7 +73,7 @@ public void useInsertStrategyTest() { | |||
assertFalse(SnowflakeDestination.isS3Copy(stubConfig)); | |||
} | |||
|
|||
@Test | |||
//@Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you going to uncomment this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check do we need this test?
@@ -73,7 +73,7 @@ public void useInsertStrategyTest() { | |||
assertFalse(SnowflakeDestination.isS3Copy(stubConfig)); | |||
} | |||
|
|||
@Test | |||
//@Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check do we need this test?
@@ -34,7 +34,7 @@ | |||
* <li>Log and close the write.</li> | |||
* </ul> | |||
*/ | |||
public abstract class BaseS3Writer implements S3Writer { | |||
public abstract class BaseS3Writer implements DestinationFileWriter { | |||
|
|||
private static final Logger LOGGER = LoggerFactory.getLogger(BaseS3Writer.class); | |||
public static final String DEFAULT_SUFFIX = "_0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we could change it to private as constant is used only inside this class :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No critical remarks from my side.
/test connector=connectors/destination-s3
|
/test connector=connectors/destination-gcs
This fail is not result of the PR. This error is in the mater last 5 days |
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-bigquery
|
/test connector=connectors/destination-bigquery-denormalized
|
/test connector=connectors/destination-s3
|
/test connector=connectors/destination-gcs
|
/test connector=connectors/destination-bigquery
|
/test connector=connectors/destination-bigquery-denormalized
|
/test connector=connectors/destination-snowflake
|
What
#8894
Remove logical duplication from the writer interfaces.
Is blocked by #6063
How
Create new generic interfaces at the bottom (S3 destination is the lowest level right now for writers). Remove duplication interfaces from the GCS destination.
Recommended reading order
DestinationFileWriter.java
DestinationWriter.java