From c8d4d4ead5df1c84966431eec8b88e974414dafc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 14 Jul 2023 07:43:02 +0200 Subject: Merging upstream version 17.4.1. Signed-off-by: Daniel Baumann --- docs/sqlglot/dataframe/sql.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'docs/sqlglot/dataframe/sql.html') diff --git a/docs/sqlglot/dataframe/sql.html b/docs/sqlglot/dataframe/sql.html index 12609a0..7445781 100644 --- a/docs/sqlglot/dataframe/sql.html +++ b/docs/sqlglot/dataframe/sql.html @@ -777,7 +777,7 @@
def - createDataFrame( self, data: Sequence[Union[Dict[str, <MagicMock id='139963616969344'>], List[<MagicMock id='139963616969344'>], Tuple]], schema: Optional[<MagicMock id='139963617390416'>] = None, samplingRatio: Optional[float] = None, verifySchema: bool = False) -> sqlglot.dataframe.sql.DataFrame: + createDataFrame( self, data: Sequence[Union[Dict[str, <MagicMock id='140411904735552'>], List[<MagicMock id='140411904735552'>], Tuple]], schema: Optional[<MagicMock id='140411906690064'>] = None, samplingRatio: Optional[float] = None, verifySchema: bool = False) -> sqlglot.dataframe.sql.DataFrame: @@ -1681,7 +1681,7 @@
- DataFrame( spark: <MagicMock id='139963621507328'>, expression: sqlglot.expressions.Select, branch_id: Optional[str] = None, sequence_id: Optional[str] = None, last_op: sqlglot.dataframe.sql.operations.Operation = <Operation.INIT: -1>, pending_hints: Optional[List[sqlglot.expressions.Expression]] = None, output_expression_container: Optional[<MagicMock id='139963621708112'>] = None, **kwargs) + DataFrame( spark: <MagicMock id='140411909715808'>, expression: sqlglot.expressions.Select, branch_id: Optional[str] = None, sequence_id: Optional[str] = None, last_op: sqlglot.dataframe.sql.operations.Operation = <Operation.INIT: -1>, pending_hints: Optional[List[sqlglot.expressions.Expression]] = None, output_expression_container: Optional[<MagicMock id='140411909885280'>] = None, **kwargs) @@ -2611,7 +2611,7 @@ is unlikely to come up.

@operation(Operation.FROM)
def - fillna( self, value: <MagicMock id='139963617155808'>, subset: Union[str, Tuple[str, ...], List[str], NoneType] = None) -> sqlglot.dataframe.sql.DataFrame: + fillna( self, value: <MagicMock id='140411905248896'>, subset: Union[str, Tuple[str, ...], List[str], NoneType] = None) -> sqlglot.dataframe.sql.DataFrame: @@ -2680,7 +2680,7 @@ and check if it matches the type of the value provided. If not then make it null
@operation(Operation.FROM)
def - replace( self, to_replace: Union[bool, int, float, str, List, Dict], value: Union[bool, int, float, str, List, NoneType] = None, subset: Union[Collection[<MagicMock id='139963615469216'>], <MagicMock id='139963615469216'>, NoneType] = None) -> sqlglot.dataframe.sql.DataFrame: + replace( self, to_replace: Union[bool, int, float, str, List, Dict], value: Union[bool, int, float, str, List, NoneType] = None, subset: Union[Collection[<MagicMock id='140411903718352'>], <MagicMock id='140411903718352'>, NoneType] = None) -> sqlglot.dataframe.sql.DataFrame: @@ -2885,7 +2885,7 @@ and check if it matches the type of the value provided. If not then make it null
@operation(Operation.NO_OP)
def - repartition( self, numPartitions: Union[int, <MagicMock id='139963615678464'>], *cols: <MagicMock id='139963615757024'>) -> sqlglot.dataframe.sql.DataFrame: + repartition( self, numPartitions: Union[int, <MagicMock id='140411903922128'>], *cols: <MagicMock id='140411904015376'>) -> sqlglot.dataframe.sql.DataFrame: @@ -3590,7 +3590,7 @@ and check if it matches the type of the value provided. If not then make it null
- Column( expression: Union[<MagicMock id='139963617714832'>, sqlglot.expressions.Expression, NoneType]) + Column( expression: Union[<MagicMock id='140411907807680'>, sqlglot.expressions.Expression, NoneType]) @@ -3633,7 +3633,7 @@ and check if it matches the type of the value provided. If not then make it null
@classmethod
def - ensure_col( cls, value: Union[<MagicMock id='139963615805936'>, sqlglot.expressions.Expression, NoneType]): + ensure_col( cls, value: Union[<MagicMock id='140411904110128'>, sqlglot.expressions.Expression, NoneType]): @@ -3654,7 +3654,7 @@ and check if it matches the type of the value provided. If not then make it null
@classmethod
def - ensure_cols( cls, args: List[Union[<MagicMock id='139963616303168'>, sqlglot.expressions.Expression]]) -> List[sqlglot.dataframe.sql.Column]: + ensure_cols( cls, args: List[Union[<MagicMock id='140411904283728'>, sqlglot.expressions.Expression]]) -> List[sqlglot.dataframe.sql.Column]: @@ -3675,7 +3675,7 @@ and check if it matches the type of the value provided. If not then make it null
@classmethod
def - invoke_anonymous_function( cls, column: Optional[<MagicMock id='139963616124384'>], func_name: str, *args: Optional[<MagicMock id='139963616115248'>]) -> sqlglot.dataframe.sql.Column: + invoke_anonymous_function( cls, column: Optional[<MagicMock id='140411903793648'>], func_name: str, *args: Optional[<MagicMock id='140411904390720'>]) -> sqlglot.dataframe.sql.Column: @@ -3702,7 +3702,7 @@ and check if it matches the type of the value provided. If not then make it null
@classmethod
def - invoke_expression_over_column( cls, column: Optional[<MagicMock id='139963615935648'>], callable_expression: Callable, **kwargs) -> sqlglot.dataframe.sql.Column: + invoke_expression_over_column( cls, column: Optional[<MagicMock id='140411904276080'>], callable_expression: Callable, **kwargs) -> sqlglot.dataframe.sql.Column: @@ -3739,7 +3739,7 @@ and check if it matches the type of the value provided. If not then make it null
def - binary_op( self, klass: Callable, other: <MagicMock id='139963616221392'>, **kwargs) -> sqlglot.dataframe.sql.Column: + binary_op( self, klass: Callable, other: <MagicMock id='140411904480480'>, **kwargs) -> sqlglot.dataframe.sql.Column: @@ -3760,7 +3760,7 @@ and check if it matches the type of the value provided. If not then make it null
def - inverse_binary_op( self, klass: Callable, other: <MagicMock id='139963616249648'>, **kwargs) -> sqlglot.dataframe.sql.Column: + inverse_binary_op( self, klass: Callable, other: <MagicMock id='140411904268496'>, **kwargs) -> sqlglot.dataframe.sql.Column: @@ -4314,7 +4314,7 @@ Sqlglot doesn't currently replicate this class so it only accepts a string

def - isin( self, *cols: Union[<MagicMock id='139963616428672'>, Iterable[<MagicMock id='139963616428672'>]]): + isin( self, *cols: Union[<MagicMock id='140411902623952'>, Iterable[<MagicMock id='140411902623952'>]]): @@ -4335,7 +4335,7 @@ Sqlglot doesn't currently replicate this class so it only accepts a string

def - between( self, lowerBound: <MagicMock id='139963614455280'>, upperBound: <MagicMock id='139963614509760'>) -> sqlglot.dataframe.sql.Column: + between( self, lowerBound: <MagicMock id='140411902714368'>, upperBound: <MagicMock id='140411902752464'>) -> sqlglot.dataframe.sql.Column: @@ -4370,7 +4370,7 @@ Sqlglot doesn't currently replicate this class so it only accepts a string

def - over( self, window: <MagicMock id='139963614567472'>) -> sqlglot.dataframe.sql.Column: + over( self, window: <MagicMock id='140411902826560'>) -> sqlglot.dataframe.sql.Column: @@ -4615,7 +4615,7 @@ Sqlglot doesn't currently replicate this class so it only accepts a string

@classmethod
def - partitionBy( cls, *cols: Union[<MagicMock id='139963615316912'>, List[<MagicMock id='139963615316912'>]]) -> sqlglot.dataframe.sql.WindowSpec: + partitionBy( cls, *cols: Union[<MagicMock id='140411903155680'>, List[<MagicMock id='140411903155680'>]]) -> sqlglot.dataframe.sql.WindowSpec: @@ -4636,7 +4636,7 @@ Sqlglot doesn't currently replicate this class so it only accepts a string

@classmethod
def - orderBy( cls, *cols: Union[<MagicMock id='139963614725072'>, List[<MagicMock id='139963614725072'>]]) -> sqlglot.dataframe.sql.WindowSpec: + orderBy( cls, *cols: Union[<MagicMock id='140411903260272'>, List[<MagicMock id='140411903260272'>]]) -> sqlglot.dataframe.sql.WindowSpec: @@ -4872,7 +4872,7 @@ Sqlglot doesn't currently replicate this class so it only accepts a string

def - partitionBy( self, *cols: Union[<MagicMock id='139963614810736'>, List[<MagicMock id='139963614810736'>]]) -> sqlglot.dataframe.sql.WindowSpec: + partitionBy( self, *cols: Union[<MagicMock id='140411902905984'>, List[<MagicMock id='140411902905984'>]]) -> sqlglot.dataframe.sql.WindowSpec: @@ -4899,7 +4899,7 @@ Sqlglot doesn't currently replicate this class so it only accepts a string

def - orderBy( self, *cols: Union[<MagicMock id='139963614775808'>, List[<MagicMock id='139963614775808'>]]) -> sqlglot.dataframe.sql.WindowSpec: + orderBy( self, *cols: Union[<MagicMock id='140411902894160'>, List[<MagicMock id='140411902894160'>]]) -> sqlglot.dataframe.sql.WindowSpec: -- cgit v1.2.3