[HOTFIX][BUILD][SPARK-16287][SQL] Fix annotation argument needs to be a constant#14315
Closed
jaceklaskowski wants to merge 1 commit into
Closed
[HOTFIX][BUILD][SPARK-16287][SQL] Fix annotation argument needs to be a constant#14315jaceklaskowski wants to merge 1 commit into
jaceklaskowski wants to merge 1 commit into
Conversation
Contributor
Author
Contributor
|
I'm wondering why that PR passed all tests... LGTM, pending jenkins, thanks for finding this out! |
Contributor
|
@jaceklaskowski thanks for finding this out. Its weird it passed locally too. |
Contributor
Author
|
I'm on Java 8. I bet you are not. True? Also, I remembered how to fix it since this kind of error happened in the past few times. |
Member
|
I remember that I did the same mistake and @jaceklaskowski helped me at that time. :) |
|
Test build #62718 has finished for PR 14315 at commit
|
Member
|
Merged to master/2.0 |
asfgit
pushed a commit
that referenced
this pull request
Jul 22, 2016
… a constant ## What changes were proposed in this pull request? Build fix for [SPARK-16287][SQL] Implement str_to_map SQL function that has introduced this compilation error: ``` /Users/jacek/dev/oss/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeCreator.scala:402: error: annotation argument needs to be a constant; found: "_FUNC_(text[, pairDelim, keyValueDelim]) - Creates a map after splitting the text ".+("into key/value pairs using delimiters. ").+("Default delimiters are \',\' for pairDelim and \':\' for keyValueDelim.") "into key/value pairs using delimiters. " + ^ ``` ## How was this patch tested? Local build Author: Jacek Laskowski <jacek@japila.pl> Closes #14315 from jaceklaskowski/build-fix-complexTypeCreator. (cherry picked from commit e1bd70f) Signed-off-by: Sean Owen <sowen@cloudera.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Build fix for [SPARK-16287][SQL] Implement str_to_map SQL function that has introduced this compilation error:
How was this patch tested?
Local build