Example #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)
Example #2
0
 def create_invalid_partition_spec_subset():
     gateway = get_gateway()
     j_partition_spec = gateway.jvm.CatalogPartitionSpec({"third": "2010"})
     return CatalogPartitionSpec(j_partition_spec)
Example #3
0
 def create_partition_spec_subset():
     gateway = get_gateway()
     j_partition_spec = gateway.jvm.CatalogPartitionSpec({"second": "bob"})
     return CatalogPartitionSpec(j_partition_spec)
Example #4
0
 def create_invalid_partition_spec_subset():
     return CatalogPartitionSpec({"third": "2010"})
Example #5
0
 def create_another_partition_spec_subset():
     return CatalogPartitionSpec({"third": "2000"})
Example #6
0
 def create_partition_spec_subset():
     return CatalogPartitionSpec({"second": "bob"})
Example #7
0
 def create_another_partition_spec():
     return CatalogPartitionSpec({"third": "2010", "second": "bob"})