spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anna stax <annasta...@gmail.com>
Subject Re: Unable to see the table created using saveAsTable From Beeline. Please help!
Date Sat, 07 Jul 2018 15:12:04 GMT
Is some configuration missing ? Appreciate any help

On Fri, Jul 6, 2018 at 4:10 PM, anna stax <annastax80@gmail.com> wrote:

> I am  running spark 2.1.0 on AWS EMR
>
> In my Zeppelin Note I am creating a table
>
>     df.write
>     .format("parquet")
>       .saveAsTable("default.1test")
>
> and I see the table when I
>
> spark.catalog.listTables().show()
> +--------------------+--------+-----------+---------+-----------+
> |                name|database|description|tableType|isTemporary|
> +--------------------+--------+-----------+---------+-----------+
> |               1test| default|       null|  MANAGED|      false|
>
>
> From Beeline client, I don’t see the table
>
> 0: jdbc:hive2://localhost:10001/> show tables;
> +-----------+------------+--------------+--+
> | database  | tableName  | isTemporary  |
> +-----------+------------+--------------+--+
> +-----------+------------+--------------+--+
> No rows selected (0.115 seconds)
>
>

Mime
View raw message