FAQ
Modified: hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote Tue Feb 12 18:52:55 2013
@@ -38,6 +38,7 @@ if len(sys.argv) <= 1 or sys.argv[1] ==
    print ' void create_table(Table tbl)'
    print ' void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context)'
    print ' void drop_table(string dbname, string name, bool deleteData)'
+ print ' void drop_table_with_environment_context(string dbname, string name, bool deleteData, EnvironmentContext environment_context)'
    print ' get_tables(string db_name, string pattern)'
    print ' get_all_tables(string db_name)'
    print ' Table get_table(string dbname, string tbl_name)'
@@ -49,9 +50,13 @@ if len(sys.argv) <= 1 or sys.argv[1] ==
    print ' Partition add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context)'
    print ' i32 add_partitions( new_parts)'
    print ' Partition append_partition(string db_name, string tbl_name, part_vals)'
+ print ' Partition append_partition_with_environment_context(string db_name, string tbl_name, part_vals, EnvironmentContext environment_context)'
    print ' Partition append_partition_by_name(string db_name, string tbl_name, string part_name)'
+ print ' Partition append_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, EnvironmentContext environment_context)'
    print ' bool drop_partition(string db_name, string tbl_name, part_vals, bool deleteData)'
+ print ' bool drop_partition_with_environment_context(string db_name, string tbl_name, part_vals, bool deleteData, EnvironmentContext environment_context)'
    print ' bool drop_partition_by_name(string db_name, string tbl_name, string part_name, bool deleteData)'
+ print ' bool drop_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, bool deleteData, EnvironmentContext environment_context)'
    print ' Partition get_partition(string db_name, string tbl_name, part_vals)'
    print ' Partition get_partition_with_auth(string db_name, string tbl_name, part_vals, string user_name, group_names)'
    print ' Partition get_partition_by_name(string db_name, string tbl_name, string part_name)'
@@ -239,6 +244,12 @@ elif cmd == 'drop_table':
      sys.exit(1)
    pp.pprint(client.drop_table(args[0],args[1],eval(args[2]),))

+elif cmd == 'drop_table_with_environment_context':
+ if len(args) != 4:
+ print 'drop_table_with_environment_context requires 4 args'
+ sys.exit(1)
+ pp.pprint(client.drop_table_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),))
+
  elif cmd == 'get_tables':
    if len(args) != 2:
      print 'get_tables requires 2 args'
@@ -305,24 +316,48 @@ elif cmd == 'append_partition':
      sys.exit(1)
    pp.pprint(client.append_partition(args[0],args[1],eval(args[2]),))

+elif cmd == 'append_partition_with_environment_context':
+ if len(args) != 4:
+ print 'append_partition_with_environment_context requires 4 args'
+ sys.exit(1)
+ pp.pprint(client.append_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),))
+
  elif cmd == 'append_partition_by_name':
    if len(args) != 3:
      print 'append_partition_by_name requires 3 args'
      sys.exit(1)
    pp.pprint(client.append_partition_by_name(args[0],args[1],args[2],))

+elif cmd == 'append_partition_by_name_with_environment_context':
+ if len(args) != 4:
+ print 'append_partition_by_name_with_environment_context requires 4 args'
+ sys.exit(1)
+ pp.pprint(client.append_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),))
+
  elif cmd == 'drop_partition':
    if len(args) != 4:
      print 'drop_partition requires 4 args'
      sys.exit(1)
    pp.pprint(client.drop_partition(args[0],args[1],eval(args[2]),eval(args[3]),))

+elif cmd == 'drop_partition_with_environment_context':
+ if len(args) != 5:
+ print 'drop_partition_with_environment_context requires 5 args'
+ sys.exit(1)
+ pp.pprint(client.drop_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),eval(args[4]),))
+
  elif cmd == 'drop_partition_by_name':
    if len(args) != 4:
      print 'drop_partition_by_name requires 4 args'
      sys.exit(1)
    pp.pprint(client.drop_partition_by_name(args[0],args[1],args[2],eval(args[3]),))

+elif cmd == 'drop_partition_by_name_with_environment_context':
+ if len(args) != 5:
+ print 'drop_partition_by_name_with_environment_context requires 5 args'
+ sys.exit(1)
+ pp.pprint(client.drop_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),eval(args[4]),))
+
  elif cmd == 'get_partition':
    if len(args) != 3:
      print 'get_partition requires 3 args'

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 8 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedFeb 12, '13 at 6:53p
activeFeb 12, '13 at 6:53p
posts8
users1
websitehive.apache.org

1 user in discussion

Kevinwilfong: 8 posts

People

Translate

site design / logo © 2021 Grokbase