def create_another_partition_spec(): gateway = get_gateway() j_partition_spec = gateway.jvm.CatalogPartitionSpec({ "third": "2010", "second": "bob" }) return CatalogPartitionSpec(j_partition_spec)
def create_invalid_partition_spec_subset(): gateway = get_gateway() j_partition_spec = gateway.jvm.CatalogPartitionSpec({"third": "2010"}) return CatalogPartitionSpec(j_partition_spec)
def create_partition_spec_subset(): gateway = get_gateway() j_partition_spec = gateway.jvm.CatalogPartitionSpec({"second": "bob"}) return CatalogPartitionSpec(j_partition_spec)
def create_invalid_partition_spec_subset(): return CatalogPartitionSpec({"third": "2010"})
def create_another_partition_spec_subset(): return CatalogPartitionSpec({"third": "2000"})
def create_partition_spec_subset(): return CatalogPartitionSpec({"second": "bob"})
def create_another_partition_spec(): return CatalogPartitionSpec({"third": "2010", "second": "bob"})