[ https://issues.apache.org/jira/browse/SPARK-14326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247602#comment-15247602 ]
Dmitriy Selivanov commented on SPARK-14326: ------------------------------------------- This particular case was related to reading csv files with spark-csv package. Of course spark-csv can infer schema, but this require 2 scans over data. When I need int64 in R, I use bit64 package. > Can't specify "long" type in structField > ---------------------------------------- > > Key: SPARK-14326 > URL: https://issues.apache.org/jira/browse/SPARK-14326 > Project: Spark > Issue Type: Bug > Components: SparkR > Affects Versions: 1.6.0 > Reporter: Dmitriy Selivanov > > tried `long`, `bigint`, `LongType`, `Long`. Nothing works... > {code} > schema <- structType(structField("id", "long")) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org