code: def test_basic(self):
      schema = (
          Schema.new_builder()
          .column("f0", DataTypes.STRING())
          .column("f1", DataTypes.BIGINT())
          .primary_key("f0")
          .build()
      )
  
      descriptor = (
          TableDescriptor.for_connector("test-connector")
          .schema(schema)
          .partitioned_by("f0")
          .comment("Test Comment")
          .build()
      )
  
      self.assertIsNotNone(descriptor.get_schema())
  
      self.assertEqual(1, len(descriptor.get_partition_keys()))
      self.assertEqual("f0", descriptor.get_partition_keys()[0])
  
      self.assertEqual(1, len(descriptor.get_options()))
      self.assertEqual(
          "test-connector", descriptor.get_options().get("connector")
      )
  
      self.assertEqual("Test Comment", descriptor.get_comment())
  
file_path: flink/flink-python/pyflink/table/tests/test_table_descriptor.py
imports: from pyflink.common.config_options import ConfigOptions
  from pyflink.table import DataTypes
  from pyflink.table.schema import Schema
  from pyflink.table.table_descriptor import TableDescriptor, FormatDescriptor
  from pyflink.testing.test_case_utils import PyFlinkStreamTableTestCase
label_desc: Use image node_id 2 for calling the TableDescriptorTest obj's underlying member method code with example usage: obj.test_basic() without return types