[GitHub] spark pull request: [SPARK-13739] [SQL] Push Predicate Through Win...

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/11635#issuecomment-204437861 @gatorsmile is this PR still a wip? Or ready for Review? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] spark pull request: [SPARK-14133][SQL] Throws exception for unsupp...

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12069#issuecomment-204461425 Merging to master. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/11991#issuecomment-204460100 Merging to master. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307367 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala --- @@ -0,0 +1,127 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307357 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala --- @@ -0,0 +1,127 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58308055 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala --- @@ -0,0 +1,127 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58308046 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -374,6 +374,52 @@ case class ShowDatabasesCommand

[GitHub] spark pull request: [SPARK-14350][SQL] EXPLAIN output should be in...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12137#issuecomment-204940667 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12134#issuecomment-204958652 @gatorsmile good catch! Let me try to explain why this happens. All `visit*` functions in the ANTLR4 generated visitor use

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58308802 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala --- @@ -0,0 +1,127 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-14350][SQL] EXPLAIN output should be in...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12137#issuecomment-204977847 Merging to master. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307196 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -238,16 +238,20 @@ class SparkSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307277 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -374,6 +374,52 @@ case class ShowDatabasesCommand

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307310 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -374,6 +374,52 @@ case class ShowDatabasesCommand

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58308017 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -374,6 +374,52 @@ case class ShowDatabasesCommand

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307336 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala --- @@ -0,0 +1,127 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-14341] [SQL] Throw exception on unsuppo...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12125#discussion_r58307908 --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 --- @@ -759,6 +761,7 @@ SNAPSHOT: 'SNAPSHOT'; READ: 'READ

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307250 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -374,6 +374,52 @@ case class ShowDatabasesCommand

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307226 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -93,6 +93,23 @@ class SparkSqlAstBuilder extends AstBuilder

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58307261 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -374,6 +374,52 @@ case class ShowDatabasesCommand

[GitHub] spark pull request: [SPARK-14341] [SQL] Throw exception on unsuppo...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12125#issuecomment-204934257 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark pull request: [SPARK-14341] [SQL] Throw exception on unsuppo...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12125#issuecomment-204994567 Merging to master. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-14123] [WIP] [SQL] Handle CreateFunctio...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12117#discussion_r58315454 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -316,8 +316,7 @@ class SparkSqlAstBuilder extends AstBuilder

[GitHub] spark pull request: [SPARK-14123] [WIP] [SQL] Handle CreateFunctio...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12117#discussion_r58315200 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala --- @@ -133,6 +133,33 @@ object UnresolvedAttribute

[GitHub] spark pull request: [SPARK-14335][SQL] Describe function command r...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12128#issuecomment-205024763 @yhuai what do you want to do with the composed expressions, i.e.: `!=`, `<>` & `between`? `case` is more of a keyword. --- If your project is set up f

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58314666 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -374,6 +374,54 @@ case class ShowDatabasesCommand

[GitHub] spark pull request: [SPARK-14123] [WIP] [SQL] Handle CreateFunctio...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12117#discussion_r58315281 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -272,10 +272,7 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58330212 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -134,6 +134,18 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58330509 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala --- @@ -332,6 +332,9 @@ private[sql] abstract class

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58330946 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -134,6 +134,18 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58334684 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala --- @@ -332,6 +332,9 @@ private[sql] abstract class

[GitHub] spark pull request: [SPARK-14361][SQL]Window function exclude clau...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12147#issuecomment-205166586 @xwu0226 this look interesting. I will try to get to this in the next couple of days. The thing I am really worried about is performance. Could you please

[GitHub] spark pull request: [SPARK-14361][SQL]Window function exclude clau...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12147#issuecomment-205166619 cc @yhuai --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] spark pull request: [SPARK-14360][SQL] QueryExecution.debug.codege...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12144#issuecomment-205181169 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark pull request: [SPARK-14360][SQL] QueryExecution.debug.codege...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12144#issuecomment-205181236 Merging to master. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-14123] [WIP] [SQL] Handle CreateFunctio...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12117#discussion_r58317039 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/functionResources.scala --- @@ -0,0 +1,56 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-14123] [WIP] [SQL] Handle CreateFunctio...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12117#discussion_r58317032 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/functionResources.scala --- @@ -0,0 +1,56 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58318012 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -133,6 +133,16 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58317969 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -133,6 +133,16 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58317991 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -133,6 +133,16 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14123] [WIP] [SQL] Handle CreateFunctio...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12117#discussion_r58317331 --- Diff: sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala --- @@ -363,7 +363,11 @@ class

[GitHub] spark pull request: [SPARK-14335][SQL] Describe function command r...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12128#issuecomment-205051607 @yongtang can you see if you can hardcode the descriptions for the composed function into the `DecribeFunction` command? See: https://github.com/apache/spark/blob

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-03 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58317947 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -133,6 +133,16 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58375653 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -411,11 +412,12 @@ class AstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58375731 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -183,6 +185,20 @@ class SparkSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12133#issuecomment-205675459 Merging to master. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58493351 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -351,7 +364,8 @@ class AstBuilder extends

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58494680 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -351,7 +364,8 @@ class AstBuilder extends

[GitHub] spark pull request: [SPARK-14383] [SQL] missing "|" in the g4 file

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12156#issuecomment-205672374 @bomeng `DISTRIBUTE` `UNSET` have been defined as one rule, so we cannot use them as identifiers. This will fail for instance: `select unset from x` whereas `select

[GitHub] spark pull request: [SPARK-14396] [SQL] Throw Exceptions for DDLs ...

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12169#discussion_r58493735 --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 --- @@ -75,17 +75,17 @@ statement | ALTER TABLE

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12134#issuecomment-205678954 LGTM - pending rebase/merge and jenkins. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] spark pull request: [SPARK-14335][SQL] Describe function command r...

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12128#discussion_r58492366 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala --- @@ -213,8 +213,8 @@ class SQLQuerySuite extends QueryTest

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-05 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12134#issuecomment-205723972 Merging to master. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-03-29 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11991#discussion_r57787998 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -70,12 +70,28 @@ class SparkSqlAstBuilder extends AstBuilder

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-03-29 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11991#discussion_r57786921 --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/ng/SqlBase.g4 --- @@ -107,7 +107,8 @@ statement | DROP TEMPORARY

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-03-29 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11991#discussion_r57787715 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -70,12 +70,28 @@ class SparkSqlAstBuilder extends AstBuilder

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-03-29 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11991#discussion_r57789745 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/commands.scala --- @@ -350,6 +354,34 @@ case class ShowTablesCommand

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-03-29 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11991#discussion_r57800827 --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/ng/SqlBase.g4 --- @@ -107,7 +107,8 @@ statement | DROP TEMPORARY

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-03-29 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11991#discussion_r57801096 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -70,12 +70,28 @@ class SparkSqlAstBuilder extends AstBuilder

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-30 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r57887314 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -937,6 +944,14 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-30 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r57887488 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -885,9 +886,15 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-30 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12040#issuecomment-203432548 Two minor suggestions. LGTM pending tests. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] spark pull request: [SPARK-14251][SQL] Add SQL command for printin...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12099#discussion_r58136464 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -122,9 +122,10 @@ class SparkSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14251][SQL] Add SQL command for printin...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12099#issuecomment-204154130 @dongjoon-hyun I left a few small comments. Looks pretty solid overall. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] spark pull request: [SPARK-14251][SQL] Add SQL command for printin...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12099#discussion_r58136340 --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 --- @@ -576,7 +576,7 @@ frameBound explainOption

[GitHub] spark pull request: [SPARK-14133][SQL] Throws exception for unsupp...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12069#issuecomment-204154484 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r58083676 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -937,6 +945,12 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14294] native support alter table ... r...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12086#issuecomment-204016040 @bomeng could you add the SQL tag to the PR title. This makes it easier for others to scan the PR queue. Overall this looks pretty solid. Could you rebase

[GitHub] spark pull request: [SPARK-14182] [SQL] Parse DDL Command: Alter V...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11987#discussion_r58062792 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -510,16 +513,22 @@ class SparkSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14294] native support alter table ... r...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12086#issuecomment-203965549 ok to test --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] spark pull request: [SPARK-14182] [SQL] Parse DDL Command: Alter V...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/11987#issuecomment-203965085 One minor comment. LGTM pending jenkins. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] spark pull request: [SPARK-13321][SQL] Add nested union test cases

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11361#discussion_r58171387 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala --- @@ -426,4 +428,68 @@ class PlanParserSuite extends

[GitHub] spark pull request: [SPARK-13321][SQL] Add nested union test cases

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11361#discussion_r58171624 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala --- @@ -1114,6 +1114,91 @@ class HiveQuerySuite extends

[GitHub] spark pull request: [SPARK-13321][SQL] Add nested union test cases

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11361#discussion_r58181875 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala --- @@ -426,4 +428,68 @@ class PlanParserSuite extends

[GitHub] spark pull request: [SPARK-13321][SQL] Add nested union test cases

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/11361#discussion_r58171562 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala --- @@ -1114,6 +1114,91 @@ class HiveQuerySuite extends

[GitHub] spark pull request: [SPARK-14294] [SQL] native support alter table...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12086#discussion_r58119934 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala --- @@ -1811,4 +1811,18 @@ class SQLQuerySuite extends

[GitHub] spark pull request: [SPARK-14294] [SQL] native support alter table...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12086#discussion_r58119832 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala --- @@ -158,5 +159,22 @@ class DDLSuite extends QueryTest

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r58123254 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -920,7 +931,7 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14133][SQL] Throws exception for unsupp...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12069#issuecomment-204128122 Yeah that is a bit funny. I triggered another build. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r58115026 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -885,11 +886,21 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r58120586 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -920,7 +931,7 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r58127160 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -920,7 +931,7 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14244][SQL] Don't use SizeBasedWindowFu...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12040#discussion_r58114426 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -920,7 +931,7 @@ private[execution] object AggregateProcessor

[GitHub] spark pull request: [SPARK-14184][SQL] Support native execution of...

2016-03-31 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/11991#issuecomment-204128228 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark pull request: [WIP] [SQL] Handle CreateFunction/DropFunction

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12117#discussion_r58278714 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala --- @@ -453,28 +464,80 @@ class SessionCatalog

[GitHub] spark pull request: [SPARK-14341] [SQL] Throw exception on unsuppo...

2016-04-02 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12125#issuecomment-204795260 test this please --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] spark pull request: [SPARK-13739] [SQL] Push Predicate Through Win...

2016-04-01 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/11635#issuecomment-204381732 @gatorsmile could you rebase this one. I'll have a look in the next few days. --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] spark pull request: [SPARK-14341] [SQL] Throw exception on unsuppo...

2016-04-02 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12125#discussion_r58299737 --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 --- @@ -759,6 +761,7 @@ SNAPSHOT: 'SNAPSHOT'; READ: 'READ

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-02 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58299767 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala --- @@ -272,6 +272,22 @@ class SessionCatalog

[GitHub] spark pull request: [SPARK-14348][SQL] Support native execution of...

2016-04-02 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12133#discussion_r58299861 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala --- @@ -93,6 +93,23 @@ class SparkSqlAstBuilder extends AstBuilder

[GitHub] spark pull request: [SPARK-14361][SQL]Window function exclude clau...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12147#discussion_r58430735 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Window.scala --- @@ -721,16 +791,37 @@ private[execution] final class

[GitHub] spark pull request: [SPARK-14362] [SQL] DDL Native Support: Drop V...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12146#discussion_r58437665 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/commands.scala --- @@ -47,18 +47,38 @@ case class AnalyzeTable(tableName: String

[GitHub] spark pull request: [SPARK-14361][SQL]Window function exclude clau...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12147#discussion_r58429851 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala --- @@ -262,19 +270,82 @@ object

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58430037 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala --- @@ -201,6 +202,31 @@ class HiveQlSuite extends SparkFunSuite

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on the pull request: https://github.com/apache/spark/pull/12134#issuecomment-205451553 @gatorsmile we are getting there. Two minor comments. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] spark pull request: [SPARK-14362] [SQL] DDL Native Support: Drop V...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12146#discussion_r58438576 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/commands.scala --- @@ -47,18 +47,38 @@ case class AnalyzeTable(tableName: String

[GitHub] spark pull request: [SPARK-14349] [SQL] Issue Error Messages for U...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12134#discussion_r58430408 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -398,11 +412,15 @@ class AstBuilder extends

[GitHub] spark pull request: [SPARK-14361][SQL]Window function exclude clau...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12147#discussion_r58429510 --- Diff: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 --- @@ -713,6 +719,9 @@ PRECEDING: 'PRECEDING'; FOLLOWING

[GitHub] spark pull request: [SPARK-14362] [SQL] DDL Native Support: Drop V...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12146#discussion_r58436969 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveSqlParser.scala --- @@ -113,7 +113,10 @@ class HiveSqlAstBuilder extends

[GitHub] spark pull request: [SPARK-14362] [SQL] DDL Native Support: Drop V...

2016-04-04 Thread hvanhovell
Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/12146#discussion_r58438731 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/commands.scala --- @@ -47,18 +47,38 @@ case class AnalyzeTable(tableName: String

<    6   7   8   9   10   11   12   13   14   15   >