[GitHub] spark issue #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE EXTERN...

2018-12-06 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/23108 retest please --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-06 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239663711 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveParquetSourceSuite.scala --- @@ -222,4 +223,66 @@ class HiveParquetSourceSuite extends

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-06 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239635890 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcSourceSuite.scala --- @@ -190,4 +192,103 @@ class HiveOrcSourceSuite extends

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-06 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239580991 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveParquetSourceSuite.scala --- @@ -32,6 +32,7 @@ import org.apache.spark.util.Utils

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-06 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239577623 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcSourceSuite.scala --- @@ -73,9 +73,11 @@ class HiveOrcSourceSuite extends

[GitHub] spark issue #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE EXTERN...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/23108 Retest please, I didn't change Pyspark code, and tested `--modules=pyspark-sql` in local machine, it is fine. Thanks

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239266908 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcSourceSuite.scala --- @@ -186,6 +186,82 @@ abstract class OrcSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239266720 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala --- @@ -2370,4 +2370,51 @@ class HiveDDLSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239266747 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcSourceSuite.scala --- @@ -190,4 +190,12 @@ class HiveOrcSourceSuite extends

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239266791 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala --- @@ -2370,4 +2370,51 @@ class HiveDDLSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239266816 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala --- @@ -2370,4 +2370,51 @@ class HiveDDLSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239266775 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala --- @@ -2370,4 +2370,51 @@ class HiveDDLSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for CREATE...

2018-12-05 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r239266673 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcSourceSuite.scala --- @@ -186,6 +186,54 @@ abstract class OrcSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-12-03 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r238469695 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcSourceSuite.scala --- @@ -186,6 +186,54 @@ abstract class OrcSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-12-03 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r238367919 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcSourceSuite.scala --- @@ -186,6 +186,54 @@ abstract class OrcSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-11-29 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r237691564 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcSourceSuite.scala --- @@ -186,6 +186,54 @@ abstract class OrcSuite

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-11-28 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r237272654 --- Diff: docs/sql-migration-guide-upgrade.md --- @@ -111,6 +111,8 @@ displayTitle: Spark SQL Upgrading Guide - Since Spark 2.0, Spark

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-11-28 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r237272454 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcSourceSuite.scala --- @@ -186,6 +186,54 @@ abstract class OrcSuite

[GitHub] spark issue #23108: [Spark-25993][SQL][TEST]Add test cases for resolution of...

2018-11-25 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/23108 I fixed a typo in the testcase, retest please. Thanks. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-11-22 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r235790938 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/orc/OrcQuerySuite.scala --- @@ -597,6 +597,38 @@ abstract class

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-11-22 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/23108#discussion_r235790826 --- Diff: docs/sql-migration-guide-upgrade.md --- @@ -111,6 +111,8 @@ displayTitle: Spark SQL Upgrading Guide - Since Spark 2.0, Spark

[GitHub] spark pull request #23108: [Spark-25993][SQL][TEST]Add test cases for resolu...

2018-11-21 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/23108 [Spark-25993][SQL][TEST]Add test cases for resolution of ORC table location ## What changes were proposed in this pull request? Add these test cases for resolution of ORC table location

[GitHub] spark issue #22918: [SPARK-25892][SQL]Change AttributeReference.withMetadata...

2018-11-05 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/22918 @xuanyuanking thanks, I fixed. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e

[GitHub] spark pull request #22918: [SPARK-25902][SQL]Change AttributeReference.withM...

2018-10-31 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/22918 [SPARK-25902][SQL]Change AttributeReference.withMetadata's return type to AttributeReference ## What changes were proposed in this pull request? Currently

[GitHub] spark pull request #22862: Spark 24207 2.4.0

2018-10-27 Thread kevinyu98
Github user kevinyu98 closed the pull request at: https://github.com/apache/spark/pull/22862 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark pull request #22862: Spark 24207 2.4.0

2018-10-27 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/22862 Spark 24207 2.4.0 ## What changes were proposed in this pull request? (Please fill in changes proposed in this fix) ## How was this patch tested? (Please explain how

[GitHub] spark issue #22100: [SPARK-25105][PySpark] [SQL]Include PandasUDFType in the...

2018-08-14 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/22100 @holdenk Hello Holden: Can you check the code changes? Is this what you expected behavior? Thanks. --- - To unsubscribe, e

[GitHub] spark issue #22100: [SPARK-25105][PySpark] [SQL]Include PandasUDFType in the...

2018-08-14 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/22100 @HyukjinKwon @dilipbiswal Thanks for your comments, I have changed the code. I removed the code changes in tests.py, because it got warning message during style checking, and I did manually

[GitHub] spark pull request #22100: [SPARK-25105][PySpark] [SQL]Include PandasUDFType...

2018-08-14 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/22100#discussion_r210091625 --- Diff: python/pyspark/sql/functions.py --- @@ -2927,7 +2927,7 @@ def pandas_udf(f=None, returnType=None, functionType=None): __all__ = [k for k

[GitHub] spark pull request #22100: [PySpark] [SQL]include PandasUDFType in the impor...

2018-08-14 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/22100 [PySpark] [SQL]include PandasUDFType in the import all of pyspark.sql.functions ## What changes were proposed in this pull request? include pyspark.sql.functions in the import all

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the ext...

2018-07-12 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r202207142 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/LookupFunctionsSuite.scala --- @@ -0,0 +1,107 @@ +/* + * Licensed

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the ext...

2018-07-12 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r202138683 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1204,16 +1207,32 @@ class Analyzer( * only

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the ext...

2018-07-12 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r201921920 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/LookupFunctionsSuite.scala --- @@ -0,0 +1,63 @@ +/* + * Licensed

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the ext...

2018-07-12 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r201921878 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/LookupFunctionsSuite.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed

[GitHub] spark issue #20795: [SPARK-23486]cache the function name from the external c...

2018-07-10 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20795 @gatorsmile Hi Sean, I am so sorry for the long delay. I will address the comments today and submit the code for reviewing. Thanks very much ! Kevin

[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-07-09 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/21285 close this pr, pr#20611 has combined this fix into his. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark pull request #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildc...

2018-07-09 Thread kevinyu98
Github user kevinyu98 closed the pull request at: https://github.com/apache/spark/pull/21285 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark issue #20795: [SPARK-23486]cache the function name from the external c...

2018-06-26 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20795 sorry for the delay. I was working on some other projects. I am back and focus on addressing the comments now

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the ext...

2018-05-21 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r189688743 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/LookupFunctionsSuite.scala --- @@ -0,0 +1,63 @@ +/* + * Licensed

[GitHub] spark issue #20795: [SPARK-23486]cache the function name from the external c...

2018-05-17 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20795 @gatorsmile Hello Sean, I have updated the code, can you review the code and see anything I need to make changes when you have time? thanks

[GitHub] spark issue #20611: [SPARK-23425][SQL]Support wildcard in HDFS path for load...

2018-05-15 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20611 @sujith71955 Sorry for the delay. I just ran your test case with my fix only, and it run successfully. Can you verify it? If it is true, then my fix is much simple, what do you think? Thanks

[GitHub] spark issue #20611: [SPARK-23425][SQL]Support wildcard in HDFS path for load...

2018-05-10 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20611 @sujith71955 Can you run this test case with your code? create a file on your local machine (for example, text1.txt) with some data then run these two LOAD DATA commands in your spark-sql

[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-05-10 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/21285 @HyukjinKwon thanks for reviewing this pr. I didn't notice that pr until you point out. If we plan to support wildcard in the LOAD DATA command, then we can close this PR. But with his

[GitHub] spark pull request #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildc...

2018-05-09 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/21285 [SPARK-24176][SQL] LOAD DATA can't identify wildcard in the hdfs file path ## What changes were proposed in this pull request? When the wildcard characters (like "?") were i

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-04-04 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r179238708 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala --- @@ -1072,8 +1072,17 @@ class SessionCatalog

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-27 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r177637334 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala --- @@ -1072,8 +1072,17 @@ class SessionCatalog

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-27 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r177487877 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala --- @@ -1072,8 +1072,17 @@ class SessionCatalog

[GitHub] spark pull request #20842: [SPARK-23162][PySpark][ML] Add r2adj into Python ...

2018-03-26 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20842#discussion_r177187425 --- Diff: python/pyspark/ml/regression.py --- @@ -336,17 +336,31 @@ def rootMeanSquaredError(self): @since("2.0.0") d

[GitHub] spark issue #20842: [SPARK-23162][PySpark][ML] Add r2adj into Python API in ...

2018-03-25 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20842 @tengpeng Thanks, are you using ./dev/lint-python to run the python style test locally? --- - To unsubscribe, e-mail

[GitHub] spark pull request #20842: [SPARK-23162][PySpark][ML] Add r2adj into Python ...

2018-03-23 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20842#discussion_r176899545 --- Diff: python/pyspark/ml/regression.py --- @@ -347,6 +347,20 @@ def r2(self): """ return self

[GitHub] spark pull request #20842: [SPARK-23162][PySpark][ML] Add r2adj into Python ...

2018-03-23 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20842#discussion_r176899541 --- Diff: python/pyspark/ml/regression.py --- @@ -347,6 +347,20 @@ def r2(self): """ return self

[GitHub] spark issue #20795: [SPARK-23486]cache the function name from the catalog fo...

2018-03-22 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20795 @viirya yes, my latest submitted code only caching the external functions, skip the built-in functions. @WeichenXu123 I will change this comment only [comment](https://github.com/apache/spark

[GitHub] spark issue #20795: [SPARK-23486]cache the function name from the catalog fo...

2018-03-22 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20795 the reason I was thinking to split is for the below scenario: In order to avoid cache twice for the external function name in the cache as the scenario described by Dilip, we decide to use

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-21 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r176308524 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala --- @@ -175,6 +175,8 @@ private[sql] class HiveSessionCatalog

[GitHub] spark issue #20795: [SPARK-23486]cache the function name from the catalog fo...

2018-03-21 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20795 @WeichenXu123 I didn't split until this disussion [discussion] (https://github.com/apache/spark/pull/20795#discussion_r175156300). The original jira report is about lookup HiveSessionCatalog, so

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-21 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r176276263 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala --- @@ -175,6 +175,8 @@ private[sql] class HiveSessionCatalog

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-21 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r176249337 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala --- @@ -1076,6 +1076,16 @@ class SessionCatalog

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-21 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r176249308 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala --- @@ -175,6 +175,8 @@ private[sql] class HiveSessionCatalog

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-16 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r175248943 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,11 +1195,23 @@ class Analyzer( * @see

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-16 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r175159061 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,11 +1195,24 @@ class Analyzer( * @see

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-16 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r175158413 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,11 +1195,24 @@ class Analyzer( * @see

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r174998505 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,11 +1195,23 @@ class Analyzer( * @see

[GitHub] spark pull request #20842: [SPARK-23162][PySpark][ML] Add r2adj into Python ...

2018-03-15 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/20842 [SPARK-23162][PySpark][ML] Add r2adj into Python API in LinearRegressionSummary ## What changes were proposed in this pull request? Adding r2adj in LinearRegressionSummary for Python

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-12 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r174019434 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,11 +1195,23 @@ class Analyzer( * @see

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-12 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r174017514 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,11 +1195,23 @@ class Analyzer( * @see

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-11 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r173692751 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,10 +1193,18 @@ class Analyzer( * @see

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-11 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/20795#discussion_r173662663 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -1192,10 +1193,18 @@ class Analyzer( * @see

[GitHub] spark issue #20795: [SPARK-23486]cache the function name from the catalog fo...

2018-03-11 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/20795 @viirya Thanks a lot. I will create a new test file LookupFunctionsSuite under sql/catalyst/analysis. --- - To unsubscribe

[GitHub] spark pull request #20795: [SPARK-23486]cache the function name from the cat...

2018-03-10 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/20795 [SPARK-23486]cache the function name from the catalog for lookupFunctions ## What changes were proposed in this pull request? This PR will cache the function name from spark and external

[GitHub] spark pull request #19329: [SPARK-22110][SQL][Documentation] Add usage and i...

2017-09-22 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/19329 [SPARK-22110][SQL][Documentation] Add usage and improve documentation with arguments and examples for trim function ## What changes were proposed in this pull request? This PR proposes

[GitHub] spark pull request #19328: [SPARK-22088][SQL][Documentation] Add usage and i...

2017-09-22 Thread kevinyu98
Github user kevinyu98 closed the pull request at: https://github.com/apache/spark/pull/19328 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark issue #19328: [SPARK-22088][SQL][Documentation] Add usage and improve ...

2017-09-22 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/19328 I am so sorry that I made mistake on the jira number, I create a new jira SPARK-22110, but I used the wrong number, let me close this PR, then put correct jira number

[GitHub] spark pull request #19328: [SPARK-22088][SQL][Documentation] Add usage and i...

2017-09-22 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/19328 [SPARK-22088][SQL][Documentation] Add usage and improve documentation with arguments and examples for trim function ## What changes were proposed in this pull request? This PR proposes

[GitHub] spark issue #19302: [SPARK-14878][SQL] Adding examples for Trim characters s...

2017-09-22 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/19302 I am opening a new jira SPARK-22088 for this. I will close this PR. The style fails is because a new JIRA SPARK-22088 fixed a style issue after I submit my PR. I have included that JIRA in my new

[GitHub] spark pull request #19302: [SPARK-14878][SQL] Adding examples for Trim chara...

2017-09-22 Thread kevinyu98
Github user kevinyu98 closed the pull request at: https://github.com/apache/spark/pull/19302 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark issue #19302: [SPARK-14878][SQL] Adding examples for Trim characters s...

2017-09-22 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/19302 @srowen sure, I will open a new JIRA for this. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark pull request #19302: [SPARK-14878][SQL] Adding examples for Trim chara...

2017-09-22 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/19302#discussion_r140433877 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -533,20 +533,30 @@ object StringTrim

[GitHub] spark pull request #19302: [SPARK-14878][SQL] Adding examples for Trim chara...

2017-09-21 Thread kevinyu98
GitHub user kevinyu98 opened a pull request: https://github.com/apache/spark/pull/19302 [SPARK-14878][SQL] Adding examples for Trim characters string function ## What changes were proposed in this pull request? This pr is a follow-up PR for this merged trim function pr

[GitHub] spark issue #12646: [SPARK-14878][SQL] Trim characters string function suppo...

2017-09-18 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/12646 Hello Sean : Thank so much for the help on this PR, appreciated all the help from you and all the reviewers

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-18 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139535041 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,304 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-18 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139535018 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,304 @@ case class FindInSet

[GitHub] spark issue #12646: [SPARK-14878][SQL] Trim characters string function suppo...

2017-09-18 Thread kevinyu98
Github user kevinyu98 commented on the issue: https://github.com/apache/spark/pull/12646 can we retest this ? The unknown return code is not related to the code. Thanks. --- - To unsubscribe, e-mail: reviews

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-16 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139302558 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-16 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139279542 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139278875 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139278847 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139278830 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -1179,6 +1179,26 @@ class AstBuilder(conf: SQLConf

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139074234 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -1179,6 +1179,26 @@ class AstBuilder(conf: SQLConf

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139073578 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -1179,6 +1179,26 @@ class AstBuilder(conf: SQLConf

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139072968 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -1179,6 +1179,26 @@ class AstBuilder(conf: SQLConf

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139071829 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-15 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139071774 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-14 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139064657 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-14 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139063658 --- Diff: common/unsafe/src/main/java/org/apache/spark/unsafe/types/UTF8String.java --- @@ -535,6 +585,51 @@ public UTF8String trimRight

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-14 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139063428 --- Diff: common/unsafe/src/main/java/org/apache/spark/unsafe/types/UTF8String.java --- @@ -535,6 +585,51 @@ public UTF8String trimRight

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-14 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139063323 --- Diff: common/unsafe/src/main/java/org/apache/spark/unsafe/types/UTF8String.java --- @@ -522,6 +537,41 @@ public UTF8String trimLeft

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-14 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139062541 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-14 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r139062566 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,307 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-06 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r137366326 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,319 @@ case class FindInSet

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

2017-09-06 Thread kevinyu98
Github user kevinyu98 commented on a diff in the pull request: https://github.com/apache/spark/pull/12646#discussion_r137366302 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala --- @@ -503,69 +504,319 @@ case class FindInSet

  1   2   3   4   >