Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Apr 30, 2015

This should gives us better analysis time error messages (rather than runtime) and automatic type casting.

This should gives us better analysis time error messages (rather than runtime) and automatic type casting.
@SparkQA
Copy link

SparkQA commented Apr 30, 2015

Test build #31362 has finished for PR 5796 at commit c900760.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class Not(child: Expression) extends UnaryExpression with Predicate with ExpectsInputTypes
    • case class And(left: Expression, right: Expression)
    • case class Or(left: Expression, right: Expression)
    • abstract class BinaryComparison extends BinaryExpression with Predicate
    • trait StringRegexExpression extends ExpectsInputTypes
    • trait CaseConversionExpression extends ExpectsInputTypes
    • case class Substring(str: Expression, pos: Expression, len: Expression)
  • This patch does not change any dependencies.

@rxin
Copy link
Contributor Author

rxin commented May 4, 2015

cc @yhuai can you review this?

@yhuai
Copy link
Contributor

yhuai commented May 5, 2015

LGTM

@rxin
Copy link
Contributor Author

rxin commented May 5, 2015

Thanks. Merging in master and branch-1.4.

asfgit pushed a commit that referenced this pull request May 5, 2015
This should gives us better analysis time error messages (rather than runtime) and automatic type casting.

Author: Reynold Xin <[email protected]>

Closes #5796 from rxin/expected-input-types and squashes the following commits:

c900760 [Reynold Xin] [SPARK-7266] Add ExpectsInputTypes to expressions when possible.

(cherry picked from commit 678c4da)
Signed-off-by: Reynold Xin <[email protected]>
@asfgit asfgit closed this in 678c4da May 5, 2015
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request May 28, 2015
This should gives us better analysis time error messages (rather than runtime) and automatic type casting.

Author: Reynold Xin <[email protected]>

Closes apache#5796 from rxin/expected-input-types and squashes the following commits:

c900760 [Reynold Xin] [SPARK-7266] Add ExpectsInputTypes to expressions when possible.
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
This should gives us better analysis time error messages (rather than runtime) and automatic type casting.

Author: Reynold Xin <[email protected]>

Closes apache#5796 from rxin/expected-input-types and squashes the following commits:

c900760 [Reynold Xin] [SPARK-7266] Add ExpectsInputTypes to expressions when possible.
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
This should gives us better analysis time error messages (rather than runtime) and automatic type casting.

Author: Reynold Xin <[email protected]>

Closes apache#5796 from rxin/expected-input-types and squashes the following commits:

c900760 [Reynold Xin] [SPARK-7266] Add ExpectsInputTypes to expressions when possible.
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