示例#1
0
 def select_star(
     cls,
     my_db,
     table_name: str,
     engine: Engine,
     schema: str = None,
     limit: int = 100,
     show_cols: bool = False,
     indent: bool = True,
     latest_partition: bool = True,
     cols: List[dict] = [],
 ) -> str:
     return BaseEngineSpec.select_star(
         my_db,
         table_name,
         engine,
         schema,
         limit,
         show_cols,
         indent,
         latest_partition,
         cols,
     )
 def select_star(
     cls,
     database,
     table_name: str,
     engine: Engine,
     schema: str = None,
     limit: int = 100,
     show_cols: bool = False,
     indent: bool = True,
     latest_partition: bool = True,
     cols: Optional[List[Dict[str, Any]]] = None,
 ) -> str:
     return BaseEngineSpec.select_star(
         database,
         table_name,
         engine,
         schema,
         limit,
         show_cols,
         indent,
         latest_partition,
         cols,
     )