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