Skip to content

Conversation

@jaceklaskowski
Copy link
Contributor

What changes were proposed in this pull request?

Minor changes to scaladoc

How was this patch tested?

Local build


/**
* Return all metadata that describes more details of this SparkPlan.
* Returns all metadata that describes more details of this SparkPlan.
Copy link
Member

Choose a reason for hiding this comment

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

You can even turn this into @return but no big deal.

*
* The main method is the agg function, which has multiple variants. This class also contains
* convenience some first order statistics such as mean, sum for convenience.
* The main method is the [[agg]] function, which has multiple variants. This class also contains
Copy link
Member

Choose a reason for hiding this comment

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

These look fine but have you had a chance to run the doc generation, to make sure scaladoc is OK with it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No scaladoc. I was focused on javadoc and seems I missed it. Fixed.

@SparkQA
Copy link

SparkQA commented May 23, 2017

Test build #77255 has finished for PR 18074 at commit 5a7eac8.

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

@SparkQA
Copy link

SparkQA commented May 25, 2017

Test build #77347 has finished for PR 18074 at commit 6a95691.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 25, 2017

Test build #77348 has finished for PR 18074 at commit 9479ccc.

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

// Add a function and its function to the map for a given frame.
def collect(tpe: String, fr: SpecifiedWindowFrame, e: Expression, fn: Expression): Unit = {
def collect(
tpe: String, fr: SpecifiedWindowFrame, e: WindowExpression, fn: Expression): Unit =
Copy link
Member

Choose a reason for hiding this comment

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

This changed a type, which could be fine as it's an internal method, but why should it be the more specific type? this isn't a doc change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll revert it to not "pollute" the PR. It was much easier to read the code when the internals were less generic (that does nothing at all).

@SparkQA
Copy link

SparkQA commented May 25, 2017

Test build #77352 has finished for PR 18074 at commit 10104f2.

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

@SparkQA
Copy link

SparkQA commented May 27, 2017

Test build #77471 has finished for PR 18074 at commit 59bf972.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class HasMinSupport(Params):
  • class HasNumPartitions(Params):
  • class HasMinConfidence(Params):
  • case class Chr(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
  • case class AnalysisBarrier(child: LogicalPlan) extends LeafNode

@SparkQA
Copy link

SparkQA commented May 27, 2017

Test build #3766 has finished for PR 18074 at commit 59bf972.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class HasMinSupport(Params):
  • class HasNumPartitions(Params):
  • class HasMinConfidence(Params):
  • case class Chr(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
  • case class AnalysisBarrier(child: LogicalPlan) extends LeafNode

@SparkQA
Copy link

SparkQA commented May 28, 2017

Test build #77491 has finished for PR 18074 at commit a95cba0.

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

@jaceklaskowski
Copy link
Contributor Author

Hey @srowen could you review the changes again and accept possibly? Thanks!

@SparkQA
Copy link

SparkQA commented May 29, 2017

Test build #77500 has finished for PR 18074 at commit 379e775.

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

private[this] lazy val windowFrameExpressionFactoryPairs = {
type FrameKey = (String, FrameType, Option[Int], Option[Int])
type ExpressionBuffer = mutable.Buffer[Expression]
type WindowExpressionBuffer = mutable.Buffer[WindowExpression]
Copy link
Member

Choose a reason for hiding this comment

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

@jaceklaskowski this is still not reverted. Please, back out any non-doc changes. I can't spend 4 rounds of review on things like this, it's not fair to anyone else waiting

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. Reverted the change manually and looks like it slipped through the cracks. Apologies.

@SparkQA
Copy link

SparkQA commented May 30, 2017

Test build #77543 has finished for PR 18074 at commit 2a02302.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • case class UnresolvedRelation(
  • case class StringReplace(srcExpr: Expression, searchExpr: Expression, replaceExpr: Expression)

@srowen
Copy link
Member

srowen commented May 31, 2017

Merged to master

@asfgit asfgit closed this in beed5e2 May 31, 2017
@jaceklaskowski jaceklaskowski deleted the scaladoc-fixes branch May 31, 2017 11:56
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