(self, name)
| 499 | '''Represents a standard database table.''' |
| 500 | |
| 501 | def __init__(self, name): |
| 502 | self.name = name |
| 503 | self._cols = [] # can include CollectionColumns and StructColumns |
| 504 | self._unique_cols = [] |
| 505 | self.alias = None |
| 506 | self.is_visible = True # Tables used in SEMI or ANTI JOINs are invisible |
| 507 | |
| 508 | # Only used for data loading. Always stored in upper-case. If set, values will be |
| 509 | # something like 'PARQUET' or 'TEXT'. See cli_options.py for a full list of |
| 510 | # possible values. |
| 511 | self._storage_format = None |
| 512 | |
| 513 | # Only used for data loading. For Impala and Hive, this is the path to the directory |
| 514 | # in the storage system, such as an HDFS URL. |
| 515 | self.storage_location = None |
| 516 | |
| 517 | # Only used for data loading. Avro tables may require a separate schema definition, |
| 518 | # this is the path to the schema file in the storage system, such as an HDFS URL. |
| 519 | self.schema_location = None |
| 520 | |
| 521 | @property |
| 522 | def identifier(self): |
no outgoing calls
no test coverage detected