[GitHub] spark issue #20557: [SPARK-23364][SQL]'desc table' command in spark-sql add ...

2018-02-25 Thread guoxiaolongzte
Github user guoxiaolongzte commented on the issue:

https://github.com/apache/spark/pull/20557
  
Well, for now, I don't have a better solution.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #20557: [SPARK-23364][SQL]'desc table' command in spark-sql add ...

2018-02-12 Thread liufengdb
Github user liufengdb commented on the issue:

https://github.com/apache/spark/pull/20557
  
There may be some spark JDBC/ODBC drivers need to parse the returned 
results to get all the columns. We should avoid making changes on the returned 
"schema" from the server side. You can fix the issue on the client side.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #20557: [SPARK-23364][SQL]'desc table' command in spark-sql add ...

2018-02-12 Thread gatorsmile
Github user gatorsmile commented on the issue:

https://github.com/apache/spark/pull/20557
  
cc @liufengdb 


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #20557: [SPARK-23364][SQL]'desc table' command in spark-sql add ...

2018-02-11 Thread guoxiaolongzte
Github user guoxiaolongzte commented on the issue:

https://github.com/apache/spark/pull/20557
  
@srowen @gatorsmile 

![4](https://user-images.githubusercontent.com/26266482/36081707-86d3a7cc-0fdd-11e8-9ee8-1c17efd5d690.png)

Can I overload hive's org.apache.hive.beeline.Commands.java in spark sql 
package, modify the hive's hard-coded statistics rows?
0: jdbc:hive2://localhost:18001> desc cyj.partition_table;
+--++--+--+
| col_name | data_type  | comment  |
+--++--+--+
| # col_name   | data_type  | comment  |
| id   | int| NULL |
| name | string | NULL |
| age  | int| NULL |
| dt   | string | NULL |
| day  | string | NULL |
| hour | int| NULL |
| # Partition Information  ||  |
| # col_name   | data_type  | comment  |
| dt   | string | NULL |
| day  | string | NULL |
| hour | int| NULL |
+--++--+--+
**12 rows** selected (0.092 seconds)

**| # Partition Information  ||  |
| # col_name  | data_type  | comment  |
Also counted as two lines. Still in question.**


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #20557: [SPARK-23364][SQL]'desc table' command in spark-sql add ...

2018-02-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/20557
  
Can one of the admins verify this patch?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #20557: [SPARK-23364][SQL]'desc table' command in spark-sql add ...

2018-02-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/20557
  
Can one of the admins verify this patch?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org