You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gillespie, Robert (R.J.)" <RG...@ford.com> on 2016/05/13 13:32:20 UTC

hive and no systables work around

I hope this is correct place for this ....



HI,

I am glad to have found this site!!!

If this is not the correct location, is there another location that i should be posting this question ?


I know there are no 'systems' tables available in HUE,   is there any way to re-code this to get row counts for ALL tables ?
i have 416 tables in my database.

SELECT T.name AS [TABLE NAME],  I.rows AS [ROWCOUNT]
FROM   sys.tables AS T
       INNER JOIN sys.sysindexes AS I
               ON T.object_id = I.id
                  AND I.indid < 2
ORDER  BY I.rows DESC


I thank you in advance for any assistance you can provide.
Bob


Thank you
Bob Gillespie
Attunity data landing team
ITEK - E2F008J



Re: hive and no systables work around

Posted by Lefty Leverenz <le...@gmail.com>.
Here's the mailing list information for Hive:  Mailing Lists
<http://hive.apache.org/mailing_lists.html>.

-- Lefty

On Fri, May 13, 2016 at 1:15 PM, Markovitz, Dudu <
dmarkovitz@paypal.com.invalid> wrote:

> Hi Robert
>
> Please move your question to user@hive.apache.org
>
> Thanks
>
> Dudu
>
> -----Original Message-----
> From: Gillespie, Robert (R.J.) [mailto:RGILLE22@ford.com]
> Sent: Friday, May 13, 2016 4:32 PM
> To: dev@hive.apache.org
> Subject: hive and no systables work around
>
> I hope this is correct place for this ....
>
>
>
> HI,
>
> I am glad to have found this site!!!
>
> If this is not the correct location, is there another location that i
> should be posting this question ?
>
>
> I know there are no 'systems' tables available in HUE,   is there any way
> to re-code this to get row counts for ALL tables ?
> i have 416 tables in my database.
>
> SELECT T.name AS [TABLE NAME],  I.rows AS [ROWCOUNT]
> FROM   sys.tables AS T
>        INNER JOIN sys.sysindexes AS I
>                ON T.object_id = I.id
>                   AND I.indid < 2
> ORDER  BY I.rows DESC
>
>
> I thank you in advance for any assistance you can provide.
> Bob
>
>
> Thank you
> Bob Gillespie
> Attunity data landing team
> ITEK - E2F008J
>
>
>

RE: hive and no systables work around

Posted by "Markovitz, Dudu" <dm...@paypal.com.INVALID>.
Hi Robert

Please move your question to user@hive.apache.org

Thanks

Dudu

-----Original Message-----
From: Gillespie, Robert (R.J.) [mailto:RGILLE22@ford.com] 
Sent: Friday, May 13, 2016 4:32 PM
To: dev@hive.apache.org
Subject: hive and no systables work around

I hope this is correct place for this ....



HI,

I am glad to have found this site!!!

If this is not the correct location, is there another location that i should be posting this question ?


I know there are no 'systems' tables available in HUE,   is there any way to re-code this to get row counts for ALL tables ?
i have 416 tables in my database.

SELECT T.name AS [TABLE NAME],  I.rows AS [ROWCOUNT]
FROM   sys.tables AS T
       INNER JOIN sys.sysindexes AS I
               ON T.object_id = I.id
                  AND I.indid < 2
ORDER  BY I.rows DESC


I thank you in advance for any assistance you can provide.
Bob


Thank you
Bob Gillespie
Attunity data landing team
ITEK - E2F008J