-
Notifications
You must be signed in to change notification settings - Fork 100
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
e2e groupby additional tests #1899
Conversation
dbadcbf
to
a7aa203
Compare
a7aa203
to
002e0cf
Compare
|
||
@Before(order = 1, value = "@GROUPBY_TEST") | ||
public static void createBucketWithGroupByTest2File() throws IOException, URISyntaxException { | ||
gcsSourceBucketName1 = createGCSBucketWithFile(PluginPropertyUtils.pluginProp("groupByGcsCsvTestFile")); |
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 we using constant names for source files?
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.
Yes, we are using constant names for source files and providing the path in plugin parameters file.
@@ -29,3 +29,6 @@ errorLogsMessageDistinctInvalidFields=Spark program 'phase-1' failed with error: | |||
errorLogsMessageDistinctInvalidNumberOfPartitions=Spark program 'phase-1' failed with error: Unable to create config \ | |||
for batchaggregator Distinct 'numPartitions' is invalid: Value of field class io.cdap.plugin.\ | |||
batch.aggregator.AggregatorConfig.numPartitions is expected to be a number.. Please check the system logs for more details. | |||
errorLogsMessageGroupByInvalidFields=Spark program 'phase-1' failed with error: null. |
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.
This error message signifies nothing and does not help in any kind of validation.
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.
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.
Created a JIRA: https://cdap.atlassian.net/browse/PLUGIN-1828 to provide proper error message.
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.
Okay Thanks!
This PR contains additional scenarios for e2e coverage of groupBy plugin