Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new aliases for cross_join, info and drop #8773

Merged
merged 3 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ type Array
take : (Index_Sub_Range | Range | Integer) -> Vector Any
take self range=(Index_Sub_Range.First 1) = Vector.take self range

## GROUP Selections
## ALIAS skip
GROUP Selections
ICON select_row
Creates a new `Vector`, removing any elements from the specified range.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,8 @@ type Vector a
_ ->
take_helper self.length (self.at _) self.slice (slice_ranges self) range

## GROUP Selections
## ALIAS skip
GROUP Selections
ICON select_row
Creates a new `Vector`, removing any elements from the specified range.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ type Column
to_table self =
Table.Value self.name self.connection [self.as_internal] self.context

## GROUP Standard.Base.Metadata
## ALIAS metadata
GROUP Standard.Base.Metadata
Returns a Table describing this column's contents.

The table behaves like `Table.info` - it lists the column name, the count
Expand Down Expand Up @@ -1128,7 +1129,8 @@ type Column
take : (Index_Sub_Range | Range | Integer) -> Column
take self range=(First 1) = self.to_table.take range . at 0

## GROUP Standard.Base.Selections
## ALIAS skip
GROUP Standard.Base.Selections
ICON select_row
Creates a new Column from the input with the specified range of rows
removed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,8 @@ type Table
take self range=(First 1) =
Take_Drop_Helpers.take_drop_helper Take_Drop.Take self range

## GROUP Standard.Base.Selections
## ALIAS skip
GROUP Standard.Base.Selections
ICON select_row
Creates a new Table from the input with the specified range of rows
removed.
Expand Down Expand Up @@ -1305,7 +1306,7 @@ type Table
new_ctx = Context.for_subquery new_from . set_where_filters where_expressions
Table.Value new_table_name self.connection result_columns new_ctx

## ALIAS cartesian join
## ALIAS cartesian join, append
GROUP Standard.Base.Calculations
ICON join
Joins tables by pairing every row of the left table with every row of the
Expand Down Expand Up @@ -2336,7 +2337,8 @@ type Table
to_sql : SQL_Statement
to_sql self = self.connection.dialect.generate_sql self.to_select_query

## GROUP Standard.Base.Metadata
## ALIAS metadata
GROUP Standard.Base.Metadata
Returns a Table describing this table's contents.

The table lists all columns, counts of non-null items and value types of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2138,7 +2138,8 @@ type Column
to_table : Table
to_table self = Table.Value self.java_column.toTable

## GROUP Standard.Base.Metadata
## ALIAS metadata
GROUP Standard.Base.Metadata
Returns a Table describing this column's contents.

The table behaves like `Table.info` - it lists the column name, the count
Expand Down Expand Up @@ -2217,7 +2218,8 @@ type Column
take self range=(First 1) =
Index_Sub_Range_Module.take_helper self.length self.at self.slice (slice_ranges self) range

## GROUP Standard.Base.Selections
## ALIAS skip
GROUP Standard.Base.Selections
ICON select_row
Creates a new Column from the input with the specified range of rows
removed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,8 @@ type Table
take self range=(First 1) =
Index_Sub_Range_Module.take_helper self.row_count self.rows.at self.slice (slice_ranges self) range

## GROUP Standard.Base.Selections
## ALIAS skip
GROUP Standard.Base.Selections
ICON select_row
Creates a new Table from the input with the specified range of rows
removed.
Expand Down Expand Up @@ -1822,7 +1823,7 @@ type Table
self.java_table.join right.java_table java_conditions join_kind.to_java (columns_to_keep.at 0) (columns_to_keep.at 1) right_columns_to_drop right_prefix java_aggregator
Table.Value new_java_table

## ALIAS cartesian join
## ALIAS cartesian join, append
GROUP Standard.Base.Calculations
ICON join
Joins tables by pairing every row of the left table with every row of the
Expand Down Expand Up @@ -2193,7 +2194,8 @@ type Table
Problem_Behavior.Report_Warning.attach_problem_after truncated <|
Not_All_Rows_Downloaded.Warning max_rows

## GROUP Standard.Base.Metadata
## ALIAS metadata
GROUP Standard.Base.Metadata
Returns a Table describing this table's contents.

The table lists all columns, counts of non-null items and value types of
Expand Down
Loading