예제 #1
0
 def create_another_partition_spec():
     gateway = get_gateway()
     j_partition_spec = gateway.jvm.CatalogPartitionSpec({
         "third": "2010",
         "second": "bob"
     })
     return CatalogPartitionSpec(j_partition_spec)
예제 #2
0
 def create_invalid_partition_spec_subset():
     gateway = get_gateway()
     j_partition_spec = gateway.jvm.CatalogPartitionSpec({"third": "2010"})
     return CatalogPartitionSpec(j_partition_spec)
예제 #3
0
 def create_partition_spec_subset():
     gateway = get_gateway()
     j_partition_spec = gateway.jvm.CatalogPartitionSpec({"second": "bob"})
     return CatalogPartitionSpec(j_partition_spec)
예제 #4
0
 def create_invalid_partition_spec_subset():
     return CatalogPartitionSpec({"third": "2010"})
예제 #5
0
 def create_another_partition_spec_subset():
     return CatalogPartitionSpec({"third": "2000"})
예제 #6
0
 def create_partition_spec_subset():
     return CatalogPartitionSpec({"second": "bob"})
예제 #7
0
 def create_another_partition_spec():
     return CatalogPartitionSpec({"third": "2010", "second": "bob"})