Github user brkyvz commented on the issue:
    @maropu The reason I call it a bug with the VectorizedParquetReader is that 
all other data sources always replace the value read from the data with the 
partition value. The VectorizedReader also doesn't throw an exception if you 
try the following example:
    case class A(a: Long, b: Int)
    val as = Seq(A(1, 2))
    val path = "/tmp/part"
    val df =
     |-- a: long (nullable = true)
     |-- b: integer (nullable = true)
    df: org.apache.spark.sql.DataFrame = [a: bigint, b: int]
    res7: Array[org.apache.spark.sql.Row] = Array([1480617712537,2])

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to