Re: Nulls getting converted to 0 with spark 2.0 SNAPSHOT

2016-03-07 Thread Michael Armbrust
That looks like a bug to me. Open a JIRA? On Mon, Mar 7, 2016 at 11:30 AM, Franklyn D'souza < franklyn.dso...@shopify.com> wrote: > Just wanted to confirm that this is the expected behaviour. > > Basically I'm putting nulls into a non-nullable LongType column and doing > a transformation

Nulls getting converted to 0 with spark 2.0 SNAPSHOT

2016-03-07 Thread Franklyn D'souza
Just wanted to confirm that this is the expected behaviour. Basically I'm putting nulls into a non-nullable LongType column and doing a transformation operation on that column, the result is a column with nulls converted to 0. Heres an example from pyspark.sql import types from pyspark.sql