You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Hafiz Mujadid <ha...@gmail.com> on 2015/10/02 22:26:04 UTC
table metaData
Hi all!
How can i get table metadata like column types in phoenix using phoenix
jdbs?
thanks
Re: table metaData
Posted by Hafiz Mujadid <ha...@gmail.com>.
thanks jdbc worked for me
On Sat, Oct 3, 2015 at 1:56 AM, James Heather <ja...@mendeley.com>
wrote:
> The JDBC methods work just fine.
>
> You're really better off using them, rather than querying the internal
> tables, because if implementation details change, your code will break.
> On 2 Oct 2015 21:29, "Konstantinos Kougios" <ko...@googlemail.com>
> wrote:
>
>> I didn't try the jdbc getMetaData methods. If those don't work, you can
>> always query the system tables, i.e. :
>>
>> select * from system.catalog;
>>
>>
>> On 02/10/15 21:26, Hafiz Mujadid wrote:
>>
>>> Hi all!
>>>
>>> How can i get table metadata like column types in phoenix using phoenix
>>> jdbs?
>>>
>>> thanks
>>>
>>
>>
--
Regards: HAFIZ MUJADID
Re: table metaData
Posted by James Heather <ja...@mendeley.com>.
The JDBC methods work just fine.
You're really better off using them, rather than querying the internal
tables, because if implementation details change, your code will break.
On 2 Oct 2015 21:29, "Konstantinos Kougios" <ko...@googlemail.com>
wrote:
> I didn't try the jdbc getMetaData methods. If those don't work, you can
> always query the system tables, i.e. :
>
> select * from system.catalog;
>
>
> On 02/10/15 21:26, Hafiz Mujadid wrote:
>
>> Hi all!
>>
>> How can i get table metadata like column types in phoenix using phoenix
>> jdbs?
>>
>> thanks
>>
>
>
Re: table metaData
Posted by Konstantinos Kougios <ko...@googlemail.com>.
I didn't try the jdbc getMetaData methods. If those don't work, you can
always query the system tables, i.e. :
select * from system.catalog;
On 02/10/15 21:26, Hafiz Mujadid wrote:
> Hi all!
>
> How can i get table metadata like column types in phoenix using
> phoenix jdbs?
>
> thanks