[GitHub] spark pull request #21626: [SPARK-24642][SQL] New function infers schema for...

2018-06-28 Thread MaxGekk
Github user MaxGekk closed the pull request at: https://github.com/apache/spark/pull/21626 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark pull request #21626: [SPARK-24642][SQL] New function infers schema for...

2018-06-26 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21626#discussion_r198152922 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JsonInferSchema.scala --- @@ -25,12 +25,36 @@ import

[GitHub] spark pull request #21626: [SPARK-24642][SQL] New function infers schema for...

2018-06-26 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21626#discussion_r198151731 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/InferSchema.scala --- @@ -0,0 +1,169 @@ +/* + *

[GitHub] spark pull request #21626: [SPARK-24642][SQL] New function infers schema for...

2018-06-26 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21626#discussion_r198147668 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/InferSchema.scala --- @@ -0,0 +1,169 @@ +/* + *

[GitHub] spark pull request #21626: [SPARK-24642][SQL] New function infers schema for...

2018-06-24 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21626#discussion_r197662799 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/InferSchema.scala --- @@ -0,0 +1,162 @@ +/* + *

[GitHub] spark pull request #21626: [SPARK-24642][SQL] New function infers schema for...

2018-06-24 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21626#discussion_r197662496 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/InferSchema.scala --- @@ -0,0 +1,162 @@ +/* + *

[GitHub] spark pull request #21626: [SPARK-24642][SQL] New function infers schema for...

2018-06-24 Thread MaxGekk
GitHub user MaxGekk opened a pull request: https://github.com/apache/spark/pull/21626 [SPARK-24642][SQL] New function infers schema for JSON column ## What changes were proposed in this pull request? In the PR, I propose new aggregate function - *infer_schema()*. The