Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/spark-connect-rust
/ functions
Functions
681 in github.com/apache/spark-connect-rust
⨍
Functions
681
◇
Types & classes
38
↓ 3 callers
Method
execute_and_fetch
( &mut self, req: spark::ExecutePlanRequest, )
crates/connect/src/client/mod.rs:180
↓ 3 callers
Method
execute_plan_request_with_metadata
(&mut self)
crates/connect/src/client/mod.rs:155
↓ 3 callers
Method
explain
Prints the [spark::Plan] to the console # Arguments: `mode`: [ExplainMode] Defaults to `unspecified` - `simple` - `extended` - `codegen` - `cost` - `
crates/connect/src/dataframe.rs:498
↓ 3 callers
Method
fields
(&self)
crates/connect/src/types.rs:104
↓ 3 callers
Method
head
Returns the first n rows.
crates/connect/src/dataframe.rs:584
↓ 3 callers
Method
interrupt_request
( &self, interrupt_type: spark::interrupt_request::InterruptType, id_or_tag: Option<St
crates/connect/src/client/mod.rs:361
↓ 3 callers
Method
orc
Reads data from ORC files with the specified options.
crates/connect/src/readwriter.rs:530
↓ 3 callers
Method
parquet
Reads data from Parquet files with the specified options.
crates/connect/src/readwriter.rs:541
↓ 3 callers
Function
print_jira_issue_summary
(issue)
dev/merge_connect_rust_pr.py:262
↓ 3 callers
Method
rows_between
(self, start: i64, end: i64)
crates/connect/src/window.rs:73
↓ 3 callers
Method
save_as_table
Saves the context of the [DataFrame] as the specified table.
crates/connect/src/readwriter.rs:718
↓ 3 callers
Method
schema
(mut self, schema: T)
crates/connect/src/readwriter.rs:418
↓ 3 callers
Method
session_id
Return the session ID
crates/connect/src/session.rs:224
↓ 3 callers
Method
sub
(self, other: Self)
crates/connect/src/column.rs:454
↓ 3 callers
Method
text
Reads data from text files with the specified options.
crates/connect/src/readwriter.rs:552
↓ 3 callers
Method
with_columns
Returns a new [DataFrame] by adding multiple columns or replacing the existing columns that have the same names.
crates/connect/src/dataframe.rs:1331
↓ 2 callers
Method
active
(&self)
crates/connect/src/streaming/mod.rs:608
↓ 2 callers
Method
add_tag
Add a tag to be assigned to all the operations started by this thread in this session.
crates/connect/src/session.rs:270
↓ 2 callers
Method
as_str_name
(&self)
crates/connect/src/types.rs:139
↓ 2 callers
Function
asc
sort functions Returns a sort expression based on the ascending order of the given column name.
crates/connect/src/functions/mod.rs:1205
↓ 2 callers
Method
asc
Returns a sorted expression based on the ascending order of the column # Example: ```rust let df: DataFrame = df.sort([col("id").asc()]); let df: Da
crates/connect/src/column.rs:108
↓ 2 callers
Method
asc_nulls_last
(self)
crates/connect/src/column.rs:126
↓ 2 callers
Function
assign_issue
Assign an issue to a user, which is a shorthand for jira.client.JIRA.assign_issue. The original one has an issue that it will search users ag
dev/merge_connect_rust_pr.py:461
↓ 2 callers
Function
cherry_pick
(pr_num, merge_hash, default_branch)
dev/merge_connect_rust_pr.py:226
↓ 2 callers
Method
contains
A boolean expression that is evaluated to `true` if the value is in the Column # Arguments: `cols`: a col reference that is translated into an [spar
crates/connect/src/column.rs:282
↓ 2 callers
Method
cov
Calculate the sample covariance for the given columns, specified by their names, as a f64
crates/connect/src/dataframe.rs:268
↓ 2 callers
Method
create_or_replace_global_temp_view
Creates or replaces a global temporary view using the given name.
crates/connect/src/dataframe.rs:297
↓ 2 callers
Method
database_exists
Check if the database with the specified name exists.
crates/connect/src/catalog.rs:153
↓ 2 callers
Method
desc_nulls_last
(self)
crates/connect/src/column.rs:166
↓ 2 callers
Method
distinct
Returns a new [DataFrame] containing the distinct rows in this [DataFrame].
crates/connect/src/dataframe.rs:383
↓ 2 callers
Method
drop
Returns a new [DataFrame] without the specified columns
crates/connect/src/dataframe.rs:393
↓ 2 callers
Method
drop_duplicates
Return a new [DataFrame] with duplicate rows removed, optionally only considering certain columns from a `Vec<String>` If no columns are supplied the
crates/connect/src/dataframe.rs:410
↓ 2 callers
Method
endswith
A filter expression that evaluates if the column endswith a string literal
crates/connect/src/column.rs:292
↓ 2 callers
Method
fetch_status
( &self, )
crates/connect/src/streaming/mod.rs:344
↓ 2 callers
Method
fillna
Replace null values, alias for `df.na().fill()`.
crates/connect/src/dataframe.rs:521
↓ 2 callers
Method
get_tags
Get the tags that are currently set to be assigned to all the operations started by this thread.
crates/connect/src/session.rs:280
↓ 2 callers
Method
is_cached
Returns true if the table is currently cached in-memory.
crates/connect/src/catalog.rs:328
↓ 2 callers
Method
is_modifable
Indicates whether the configuration property with the given key is modifiable in the current session.
crates/connect/src/conf.rs:127
↓ 2 callers
Method
isin
A boolean expression that is evaluated to `true` if the value of the expression is contained by the evaluated values of the arguments # Arguments: `
crates/connect/src/column.rs:264
↓ 2 callers
Method
last_progress
(&self)
crates/connect/src/streaming/mod.rs:392
↓ 2 callers
Method
list_columns
Returns a list of columns for the given tables/views in the specific database
crates/connect/src/catalog.rs:258
↓ 2 callers
Method
name
An alias for the function `alias`
crates/connect/src/column.rs:96
↓ 2 callers
Method
pivot
Pivots a column of the current [DataFrame] and perform the specified aggregation
crates/connect/src/group.rs:119
↓ 2 callers
Method
print_schema
Prints out the schema in the tree format to a specific level number.
crates/connect/src/dataframe.rs:779
↓ 2 callers
Method
process_stream
( &mut self, stream: &mut Streaming<spark::ExecutePlanResponse>, )
crates/connect/src/client/mod.rs:224
↓ 2 callers
Method
release_all
(&mut self)
crates/connect/src/client/mod.rs:261
↓ 2 callers
Method
release_execute
( &mut self, release: Option<spark::release_execute_request::Release>, )
crates/connect/src/client/mod.rs:270
↓ 2 callers
Function
resolve_jira_issue
(merge_branches, comment, default_jira_id="")
dev/merge_connect_rust_pr.py:301
↓ 2 callers
Method
save_table
(self, table_name: &str, save_method: i32)
crates/connect/src/readwriter.rs:691
↓ 2 callers
Method
set
Sets the given Spark runtime configuration property.
crates/connect/src/conf.rs:61
↓ 2 callers
Method
set_current_catalog
Sets the current default catalog in this session
crates/connect/src/catalog.rs:67
↓ 2 callers
Function
setup
()
crates/connect/src/group.rs:148
↓ 2 callers
Function
setup
()
crates/connect/src/session.rs:322
↓ 2 callers
Function
sort_order
(cols: I)
crates/connect/src/plan.rs:845
↓ 2 callers
Method
start_stream
( self, sink: Option<spark::write_stream_operation_start::SinkDestination>, )
crates/connect/src/streaming/mod.rs:227
↓ 2 callers
Method
table
(&self, name: &str)
crates/connect/src/session.rs:184
↓ 2 callers
Method
table
Returns the specific table as a [DataFrame] # Arguments: `table_name`: &str of the table name `options`: (optional Hashmap) contains additional read
crates/connect/src/readwriter.rs:481
↓ 2 callers
Method
to_datafusion
( self, ctx: &SessionContext, )
crates/connect/src/dataframe.rs:1191
↓ 2 callers
Method
to_first_value
(&mut self, plan: spark::Plan)
crates/connect/src/client/mod.rs:558
↓ 2 callers
Method
to_json
Converts a [DataFrame] into String representation of JSON Each row is turned into a JSON document
crates/connect/src/dataframe.rs:1171
↓ 2 callers
Function
to_json_object
(val: Vec<String>)
crates/connect/src/streaming/mod.rs:567
↓ 2 callers
Method
to_proto_type
(&self)
crates/connect/src/types.rs:179
↓ 2 callers
Method
unpivot
Unpivot a DataFrame from wide format to long format, optionally leaving identifier columns set. This is the reverse to groupBy(…).pivot(…).agg(…), exc
crates/connect/src/dataframe.rs:1295
↓ 2 callers
Method
validate_session
(&self, session_id: &str)
crates/connect/src/client/mod.rs:493
↓ 2 callers
Method
validate_tag
(&self, tag: &str)
crates/connect/src/client/mod.rs:307
↓ 2 callers
Method
with_column
Returns a new [DataFrame] by adding a column or replacing the existing column that has the same name.
crates/connect/src/dataframe.rs:1321
↓ 1 callers
Method
add
(self, other: Self)
crates/connect/src/column.rs:438
↓ 1 callers
Method
alias
Returns the column with a new name # Example: ```rust let cols = [ col("name").alias("new_name"), col("age").alias("new_age") ]; df.select(cols); ``
crates/connect/src/column.rs:81
↓ 1 callers
Method
analyze_plan_request_with_metadata
(&self)
crates/connect/src/client/mod.rs:171
↓ 1 callers
Method
app_name
Sets a name for the application, which will be shown in the Spark web UI.
crates/connect/src/session.rs:96
↓ 1 callers
Method
as_str_name
(&self)
crates/connect/src/streaming/mod.rs:125
↓ 1 callers
Method
avg
Computes average values for each numeric columns for each group.
crates/connect/src/group.rs:78
↓ 1 callers
Method
cache
Persists the [DataFrame] with the default [storage::StorageLevel::MemoryAndDiskDeser] (MEMORY_AND_DISK_DESER).
crates/connect/src/dataframe.rs:172
↓ 1 callers
Method
cache_table
Caches the specified table in-memory or with given storage level.
crates/connect/src/catalog.rs:409
↓ 1 callers
Method
cast
Casts the column into the Spark DataType # Arguments: `to_type` is a string or [crate::types::DataType] of the target type # Example: ```rust use c
crates/connect/src/column.rs:240
↓ 1 callers
Function
choose_jira_assignee
Prompt the user to choose who to assign the issue to in jira, given a list of candidates, including the original reporter and all commentator
dev/merge_connect_rust_pr.py:399
↓ 1 callers
Method
clear_tags
Clear the current thread’s operation tags.
crates/connect/src/session.rs:285
↓ 1 callers
Method
coalesce
Returns a new [DataFrame] that has exactly `num_partitions` partitions.
crates/connect/src/dataframe.rs:178
↓ 1 callers
Method
col_regex
Selects column based on the column name specified as a regex and returns it as [Column].
crates/connect/src/dataframe.rs:183
↓ 1 callers
Method
config
Sets a config option.
crates/connect/src/session.rs:90
↓ 1 callers
Method
corr
Calculates the correlation of two columns of a [DataFrame] as a `f64`. Currently only supports the Pearson Correlation Coefficient.
crates/connect/src/dataframe.rs:230
↓ 1 callers
Method
create
(self)
crates/connect/src/readwriter.rs:822
↓ 1 callers
Method
create_client
(&self)
crates/connect/src/session.rs:102
↓ 1 callers
Method
create_external_table
Creates a table based on the dataset in a data source.
crates/connect/src/catalog.rs:376
↓ 1 callers
Function
create_map
Create a new map column.
crates/connect/src/functions/mod.rs:720
↓ 1 callers
Method
create_or_replace_temp_view
Creates or replaces a local temporary view with this [DataFrame]
crates/connect/src/dataframe.rs:302
↓ 1 callers
Method
cross_join
Returns the cartesian product with another [DataFrame].
crates/connect/src/dataframe.rs:332
↓ 1 callers
Method
crosstab
Computes a pair-wise frequency table of the given columns. Also known as a contingency table.
crates/connect/src/dataframe.rs:344
↓ 1 callers
Method
current_catalog
Returns the current default catalog in this session
crates/connect/src/catalog.rs:54
↓ 1 callers
Method
current_database
Returns the current default database in this session
crates/connect/src/catalog.rs:97
↓ 1 callers
Function
desc
Returns a sort expression based on the descending order of the given column name.
crates/connect/src/functions/mod.rs:1220
↓ 1 callers
Method
describe
Computes basic statistics for numeric and string columns. This includes count, mean, stddev, min, and max. If no columns are given, this function comp
crates/connect/src/dataframe.rs:369
↓ 1 callers
Method
deserialize
(&mut self, res: &[u8], row_count: i64)
crates/connect/src/client/mod.rs:503
↓ 1 callers
Method
drop_fields
(self, field_names: I)
crates/connect/src/column.rs:180
↓ 1 callers
Method
drop_global_temp_view
Drops the global temporary view with the given view name in the catalog.
crates/connect/src/catalog.rs:311
↓ 1 callers
Method
drop_temp_view
Drops the local temporary view with the given view name in the catalog.
crates/connect/src/catalog.rs:296
↓ 1 callers
Method
dtypes
Returns all column names and their data types as a `Vec` containing the field name as a `String` and the [spark::data_type::Kind] enum
crates/connect/src/dataframe.rs:453
↓ 1 callers
Method
endpoint
(&self)
crates/connect/src/client/builder.rs:64
↓ 1 callers
Method
except_all
Return a new [DataFrame] containing rows in this [DataFrame] but not in another [DataFrame] while preserving duplicates.
crates/connect/src/dataframe.rs:476
↓ 1 callers
Method
function_exists
Check if the function with the specified name exists.
crates/connect/src/catalog.rs:222
← previous
next →
101–200 of 681, ranked by callers