An exception should be thrown in the case of failure for DDL commands.
On Tue, Sep 23, 2014 at 4:55 PM, Du Li wrote:
> Hi,
>
> After executing sql() in SQLContext or HiveContext, is there a way to
> tell whether the query/command succeeded or failed? Method sql() returns
> SchemaRDD which eit
Hi,
After executing sql() in SQLContext or HiveContext, is there a way to tell
whether the query/command succeeded or failed? Method sql() returns SchemaRDD
which either is empty or contains some Rows of results. However, some queries
and commands do not return results by nature; being empty is