got it! so if I do dataset.select("nonExistentColumn") then the Analysis
Error is thrown at compile time right? but what if I have a dataset in
memory and I go to a database server and execute a delete column query ?
Will the dataset object be in sync with the underlying database table?

Thanks!

On Wed, May 3, 2017 at 2:25 PM, Michael Armbrust <mich...@databricks.com>
wrote:

> An analysis exception occurs whenever the scala/java/python program is
> valid, but the dataframe operations being performed are not.  For example,
> df.select("nonExistentColumn") would throw an analysis exception.
>
> On Wed, May 3, 2017 at 1:38 PM, kant kodali <kanth...@gmail.com> wrote:
>
>> Hi All,
>>
>> I understand the compile time Errors this blog
>> <https://databricks.com/blog/2016/07/14/a-tale-of-three-apache-spark-apis-rdds-dataframes-and-datasets.html>
>>  is
>> talking about but I don't understand what are Analysis Errors? Any Examples?
>>
>> Thanks!
>>
>
>

Reply via email to