|
|
-
Order by Sort by partitioned columns
Shin Chan 2012-05-14, 06:28
Hi All
Just curious if its possible to Order by or Sort by partitioned columns.
I tried it , it fails as it is not able to find those columns. They are present as partitions.
Any help would be appreciated.
Thanks and Regards ,
+
Shin Chan 2012-05-14, 06:28
-
Re: Order by Sort by partitioned columns
Mark Grover 2012-05-14, 13:29
Hi Shin, If you could list the query that failed and the query used to create the tables in question, that would be very helpful.
Mark
----- Original Message ----- From: "Shin Chan" <[EMAIL PROTECTED]> To: "HIVE User" <[EMAIL PROTECTED]> Sent: Monday, May 14, 2012 2:28:06 AM Subject: Order by Sort by partitioned columns
Hi All
Just curious if its possible to Order by or Sort by partitioned columns.
I tried it , it fails as it is not able to find those columns. They are present as partitions.
Any help would be appreciated.
Thanks and Regards ,
+
Mark Grover 2012-05-14, 13:29
-
Re: Order by Sort by partitioned columns
Sukhendu Chakraborty 2012-05-16, 02:47
I think in HIVE the partitioned columns are virtual. They are not physical data columns but a directory name corr. to the partition key value to facilitate partition pruning during select. On May 14, 2012 6:29 AM, "Mark Grover" <[EMAIL PROTECTED]> wrote:
> Hi Shin, > If you could list the query that failed and the query used to create the > tables in question, that would be very helpful. > > Mark > > ----- Original Message ----- > From: "Shin Chan" <[EMAIL PROTECTED]> > To: "HIVE User" <[EMAIL PROTECTED]> > Sent: Monday, May 14, 2012 2:28:06 AM > Subject: Order by Sort by partitioned columns > > Hi All > > Just curious if its possible to Order by or Sort by partitioned columns. > > I tried it , it fails as it is not able to find those columns. They are > present as partitions. > > Any help would be appreciated. > > Thanks and Regards , >
+
Sukhendu Chakraborty 2012-05-16, 02:47
-
Re: Order by Sort by partitioned columns
Tim Havens 2012-05-16, 14:40
I frequently sort by partitioned columns, without issues. Post your table schema, and your query that's failing, lets see what's going on?
Tim
On Mon, May 14, 2012 at 1:28 AM, Shin Chan <[EMAIL PROTECTED]> wrote:
> Hi All > > Just curious if its possible to Order by or Sort by partitioned columns. > > I tried it , it fails as it is not able to find those columns. They are > present as partitions. > > Any help would be appreciated. > > Thanks and Regards , -- "The whole world is you. Yet you keep thinking there is something else." - Xuefeng Yicun 822-902 A.D.
Tim R. Havens Google Phone: 573.454.1232 ICQ: 495992798 ICBM: 37°51'34.79"N 90°35'24.35"W ham radio callsign: NW0W
+
Tim Havens 2012-05-16, 14:40
|
|