Subject: RE: spark sql: timestamp in json - fails
Spark 1.1.0
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/spark-sql-timestamp-in-json-fails-tp16864p16888.html
Sent from the Apache Spark User List mailing list archive at Nabble.com
ge in context:
http://apache-spark-user-list.1001560.n3.nabble.com/spark-sql-timestamp-in-json-fails-tp16864p16884.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-uns
Spark 1.1.0
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/spark-sql-timestamp-in-json-fails-tp16864p16888.html
Sent from the Apache Spark User List mailing list archive at Nabble.com
ge in context:
http://apache-spark-user-list.1001560.n3.nabble.com/spark-sql-timestamp-in-json-fails-tp16864p16884.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-uns
.1001560.n3.nabble.com/spark-sql-timestamp-in-json-fails-tp16864p16884.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands
Seems I made a mistake…
From: Wang, Daoyuan
Sent: Tuesday, October 21, 2014 10:35 AM
To: 'Yin Huai'
Cc: Michael Armbrust; tridib; u...@spark.incubator.apache.org
Subject: RE: spark sql: timestamp in json - fails
I got that, it is in JsonRDD.java of `typeOfPrimitiveValues`. I’l
: tridib;
u...@spark.incubator.apache.org<mailto:u...@spark.incubator.apache.org>
Subject: Re: spark sql: timestamp in json - fails
Hi Tridib,
For the second approach, can you attach the complete stack trace?
Thanks,
Yin
On Mon, Oct 20, 2014 at 8:24 PM, Michael Armbrust
mailto:mich...@databricks.co
id testJsonStruct(SparkContext sc) {
> JavaSQLContext sqlCtx = getSqlCtx(getCtx(sc));
> String path = "/hdd/spark/test.json";
> JavaSchemaRDD test = sqlCtx.jsonFile(path, createStructType());
> sqlCtx.registerRDDAsTable(test, "test");
>
: tridib; u...@spark.incubator.apache.org
Subject: Re: spark sql: timestamp in json - fails
Hi Tridib,
For the second approach, can you attach the complete stack trace?
Thanks,
Yin
On Mon, Oct 20, 2014 at 8:24 PM, Michael Armbrust
mailto:mich...@databricks.com>> wrote:
I think you are r
public void testJsonStruct(SparkContext sc) {
>> JavaSQLContext sqlCtx = getSqlCtx(getCtx(sc));
>> String path = "/hdd/spark/test.json";
>> JavaSchemaRDD test = sqlCtx.jsonFile(path, createStructType());
>> sqlCtx.registerRDDAsTable(test, "test&q
> JavaSQLContext sqlCtx = getSqlCtx(getCtx(sc));
> String path = "/hdd/spark/test.json";
> JavaSchemaRDD test = sqlCtx.jsonFile(path, createStructType());
> sqlCtx.registerRDDAsTable(test, "test");
> execSql(sqlCtx, "select * from test", 1);
>
nks
Tridib
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/spark-sql-timestamp-in-json-fails-tp16864.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsu
12 matches
Mail list logo