Thanks a lot! On Wed, May 3, 2017 at 4:36 PM, Michael Armbrust <mich...@databricks.com> wrote:
> if I do dataset.select("nonExistentColumn") then the Analysis Error is >> thrown at compile time right? >> > > if you do df.as[MyClass].map(_.badFieldName) you will get a compile > error. However, if df doesn't have the right columns for MyClass, that > error will only be thrown at runtime (whether DF is backed by something in > memory or some remote database). >