× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tomconrad reported 2015-11-16T22:48:53Z  · laxdeep(*) last modified 2016-02-02T13:32:55Z

Hive - Script select doesn't contain partitioned columns in the select statement.


Priority Minor
Complexity Easy
Component Hive
Version 17.0

Customer request.. 

Create a hive table as per below

CREATE TABLE `default`.`sale`  (

        `divisionid`                    tinyint)

PARTITIONED BY (sk_calendar int)

STORED AS ORC

TBLPROPERTIES ('orc.compress'='NONE')

 

When you script the table with “Select” it does not include the partitioned column which it should.

Result of script select

SELECT `divisionid`

        FROM `sale`

Select * from FROM `sale` shows 2 columns

The partitioned column(s) should be the last column(s) in the select clause.

 

7 attachments

Issue #13857

Closed
Fixed
Resolved 2015-11-16T23:26:46Z
 
 
Completion
No due date
Fixed Build ADS 18.0.0-dev-14 & ADS 17.0.0-rc-36
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017