Skip to content

Conversation

@mgaido91
Copy link
Contributor

What changes were proposed in this pull request?

The PR is a followup to move the test cases introduced by the original PR in their proper location.

How was this patch tested?

moved UTs

@mgaido91
Copy link
Contributor Author

cc @gatorsmile @HyukjinKwon

@SparkQA
Copy link

SparkQA commented Jul 12, 2018

Test build #92889 has finished for PR 21751 at commit 2bf402b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

assertAnalysisError(barrier, Seq("cannot resolve '`tbl.b`'"))
}

test("SPARK-24208: analysis fails on self-join with FlatMapGroupsInPandas") {
Copy link
Member

Choose a reason for hiding this comment

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

please also remove the corresponding unit test case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry, I forgot that, I am doing it, thanks.

@SparkQA
Copy link

SparkQA commented Jul 12, 2018

Test build #92921 has finished for PR 21751 at commit 37a7889.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

}

test("SPARK-24208: analysis fails on self-join with FlatMapGroupsInPandas") {
val pythonUdf = PythonUDF("pyUDF", null,
Copy link
Member

Choose a reason for hiding this comment

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

Nit:

"pyUDF", 
null,

StructType(Seq(StructField("a", LongType))),
Seq.empty,
PythonEvalType.SQL_GROUPED_MAP_PANDAS_UDF,
true)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: udfDeterministic = true

@gatorsmile
Copy link
Member

Please follow the style suggestions in the future.

LGTM

Thanks! Merged to master

@asfgit asfgit closed this in 1138489 Jul 12, 2018
@mgaido91
Copy link
Contributor Author

sure, I'll keep them in mind. Sorry for the mistakes, I'll be more careful. Thanks @gatorsmile.

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.

3 participants