Skip to content
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

[SPARK-4804] StringContext method to allow String references to column names in Catalyst DSL #3649

Closed
wants to merge 18 commits into from

Conversation

culler
Copy link

@culler culler commented Dec 9, 2014

No description provided.

allowing them to be used in DSL expressions.  These classes provide
initializers which accept string representations of dates or times.
They are renamed as Date and Timestamp when the members of an
SQLContext are in scope.
with a literal, e.g. 0 < 'x .
These conversions expose a conflict with the scalatest === operator
if assert(X === Y) is used when the conversions are in scope.  To
fix this, several tests are modified, as recommended in the scalatest
documentation, by making the change:
assert(X === Y) --> assert(convertToEqualizer(X).===(Y))
a test which would have detected the problem.
available after importing the members of an SQLContext.
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@marmbrus
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Dec 11, 2014

Test build #24335 has started for PR 3649 at commit 26aa58f.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 11, 2014

Test build #24335 has finished for PR 3649 at commit 26aa58f.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • implicit class StringToSymbol(val sc: StringContext) extends AnyVal

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24335/
Test PASSed.

@marmbrus
Copy link
Contributor

marmbrus commented Jan 5, 2015

Now that #3862 has been merged, can we close this issue?

@asfgit asfgit closed this in c082385 Jan 8, 2015
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.

4 participants