Comment obtenir le SerDe Propriétés d'un Tableau de la Ruche

Mon collègue créé une table dans la ruche et ajouté un délicat SerDe Regex. J'aimerais voir ce que la regex est mais le "SHOW CREATE TABLE" commande ne fonctionne pas.

Est-il un autre moyen pour afficher l'SERDEPROPERTIES qu'un tableau a été créé avec?

Exemple:

hive> CREATE TABLE foo (
  bar STRING
) 
ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.RegexSerDe'
WITH SERDEPROPERTIES ( "input.regex" = "(.*)", "output.format.string" = "%1$s" );

OK
Time taken: 0.078 seconds

hive> SHOW CREATE TABLE foo;
OK
CREATE  TABLE foo(
  bar string COMMENT 'from deserializer')
ROW FORMAT DELIMITED
STORED AS INPUTFORMAT
  'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT
  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
  'maprfs:/user/hive/warehouse/foo'
TBLPROPERTIES (
  'transient_lastDdlTime'='1383248078')
Time taken: 0.091 seconds, Fetched: 11 row(s)

Je suis l'aide de la ruche de 0,11. Merci!

OriginalL'auteur nolanpro | 2013-10-31