You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Rex Xiong <by...@gmail.com> on 2015/07/06 07:53:20 UTC

DESCRIBE FORMATTED doesn't work in Hive Thrift Server?

Hi,

I try to use for one table created in spark, but it seems the results are
all empty, I want to get metadata for table, what's other options?

Thanks

+-------------------------------+
|            result             |
+-------------------------------+
| # col_name                    |
|                               |
| col                           |
|                               |
| # Detailed Table Information  |
| Database:                     |
| Owner:                        |
| CreateTime:                   |
| LastAccessTime:               |
| Protect Mode:                 |
| Retention:                    |
| Location:                     |
| Table Type:                   |
| Table Parameters:             |
|                               |
|                               |
|                               |
|                               |
|                               |
|                               |
|                               |
|                               |
|                               |
|                               |
|                               |
| # Storage Information         |
| SerDe Library:                |
| InputFormat:                  |
| OutputFormat:                 |
| Compressed:                   |
| Num Buckets:                  |
| Bucket Columns:               |
| Sort Columns:                 |
| Storage Desc Params:          |
|                               |
|                               |
+-------------------------------+

Re: DESCRIBE FORMATTED doesn't work in Hive Thrift Server?

Posted by Ted Yu <yu...@gmail.com>.
What version of Hive and Spark are you using ?

Cheers

On Sun, Jul 5, 2015 at 10:53 PM, Rex Xiong <by...@gmail.com> wrote:

> Hi,
>
> I try to use for one table created in spark, but it seems the results are
> all empty, I want to get metadata for table, what's other options?
>
> Thanks
>
> +-------------------------------+
> |            result             |
> +-------------------------------+
> | # col_name                    |
> |                               |
> | col                           |
> |                               |
> | # Detailed Table Information  |
> | Database:                     |
> | Owner:                        |
> | CreateTime:                   |
> | LastAccessTime:               |
> | Protect Mode:                 |
> | Retention:                    |
> | Location:                     |
> | Table Type:                   |
> | Table Parameters:             |
> |                               |
> |                               |
> |                               |
> |                               |
> |                               |
> |                               |
> |                               |
> |                               |
> |                               |
> |                               |
> |                               |
> | # Storage Information         |
> | SerDe Library:                |
> | InputFormat:                  |
> | OutputFormat:                 |
> | Compressed:                   |
> | Num Buckets:                  |
> | Bucket Columns:               |
> | Sort Columns:                 |
> | Storage Desc Params:          |
> |                               |
> |                               |
> +-------------------------------+
>