[jira] [Created] (SPARK-12586) Wrong answer with registerTempTable and union sql query

2015-12-30 Thread shao lo (JIRA)
shao lo created SPARK-12586: --- Summary: Wrong answer with registerTempTable and union sql query Key: SPARK-12586 URL: https://issues.apache.org/jira/browse/SPARK-12586 Project: Spark Issue Type:

[jira] [Updated] (SPARK-12586) Wrong answer with registerTempTable and union sql query

2015-12-30 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] shao lo updated SPARK-12586: Attachment: sql_bug.py Attaching example code > Wrong answer with registerTempTable and union sql query >

[jira] [Updated] (SPARK-12586) Wrong answer with registerTempTable and union sql query

2015-12-30 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] shao lo updated SPARK-12586: Description: The following sequence of sql(), registerTempTable() calls gets the wrong answer. The

[jira] [Reopened] (SPARK-10617) Leap year miscalculated in sql query

2015-10-13 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-10617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] shao lo reopened SPARK-10617: - The bug is not that add_months is wrong. The bug is that order of evaluation is wrong. The two queries

[jira] [Commented] (SPARK-10617) Leap year miscalculated in sql query

2015-10-13 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-10617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14955668#comment-14955668 ] shao lo commented on SPARK-10617: - Yik!! I was assuming add_months(cast('2015-02-28' as date), 12)

[jira] [Created] (SPARK-10617) Leap year miscalculated in sql query

2015-09-15 Thread shao lo (JIRA)
shao lo created SPARK-10617: --- Summary: Leap year miscalculated in sql query Key: SPARK-10617 URL: https://issues.apache.org/jira/browse/SPARK-10617 Project: Spark Issue Type: Bug

[jira] [Commented] (SPARK-10550) SQLListener error constructing extended SQLContext

2015-09-14 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14743572#comment-14743572 ] shao lo commented on SPARK-10550: - There are parts that are marked as experimental. This is not in that

[jira] [Commented] (SPARK-10550) SQLListener error constructing extended SQLContext

2015-09-14 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14744054#comment-14744054 ] shao lo commented on SPARK-10550: - I figured out the root of the problem. The SQLListenter() is passed

[jira] [Commented] (SPARK-10550) SQLListener error constructing extended SQLContext

2015-09-11 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14741408#comment-14741408 ] shao lo commented on SPARK-10550: - I am subclassing to gain access to some non-public data in my client

[jira] [Commented] (SPARK-10550) SQLListener error constructing extended SQLContext

2015-09-11 Thread shao lo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740959#comment-14740959 ] shao lo commented on SPARK-10550: - I do not know if this is valid Scala, but something like...

[jira] [Created] (SPARK-10550) SQLListener error constructing extended SQLContext

2015-09-10 Thread shao lo (JIRA)
shao lo created SPARK-10550: --- Summary: SQLListener error constructing extended SQLContext Key: SPARK-10550 URL: https://issues.apache.org/jira/browse/SPARK-10550 Project: Spark Issue Type: Bug