jeff anderson created ZEPPELIN-1156:
---------------------------------------
Summary: Frontend display long integer incorrectly
Key: ZEPPELIN-1156
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1156
Project: Zeppelin
Issue Type: Bug
Components: front-end
Affects Versions: 0.6.0
Reporter: jeff anderson
- Custom built Zeppelin v0.6.0 with
mvn package -Pbuild-distr -DskipTests -Pspark-1.6 -Phadoop-2.7
-Dhadoop.version=2.7.2 -Ppyspark -Pyarn
- Systems run on Amazon Linux AMI release 2015.03
- Python is set to 2.6, but the same issue happens to python 3.4.3 too.
- Spark interpreter is the default
- I have seen similar problem in other JavaScript front-end.
- To recreate the problem
%pyspark
from pyspark.sql.types import *
schema = StructType([StructField("id", LongType())])
rdd = sc.parallelize([{'id': 125294975104601234L}, {'id': 215153963132015678L}])
x = sqlContext.createDataFrame(rdd, schema)
x.registerTempTable("t")
%sql select * from t
%sql select concat("'", id, "'") from t
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)