MCPcopy Create free account

hub / github.com/apache/spark-connect-rust / functions

Functions681 in github.com/apache/spark-connect-rust

↓ 3 callersMethodexecute_and_fetch
( &mut self, req: spark::ExecutePlanRequest, )
crates/connect/src/client/mod.rs:180
↓ 3 callersMethodexecute_plan_request_with_metadata
(&mut self)
crates/connect/src/client/mod.rs:155
↓ 3 callersMethodexplain
Prints the [spark::Plan] to the console # Arguments: `mode`: [ExplainMode] Defaults to `unspecified` - `simple` - `extended` - `codegen` - `cost` - `
crates/connect/src/dataframe.rs:498
↓ 3 callersMethodfields
(&self)
crates/connect/src/types.rs:104
↓ 3 callersMethodhead
Returns the first n rows.
crates/connect/src/dataframe.rs:584
↓ 3 callersMethodinterrupt_request
( &self, interrupt_type: spark::interrupt_request::InterruptType, id_or_tag: Option<St
crates/connect/src/client/mod.rs:361
↓ 3 callersMethodorc
Reads data from ORC files with the specified options.
crates/connect/src/readwriter.rs:530
↓ 3 callersMethodparquet
Reads data from Parquet files with the specified options.
crates/connect/src/readwriter.rs:541
↓ 3 callersFunctionprint_jira_issue_summary
(issue)
dev/merge_connect_rust_pr.py:262
↓ 3 callersMethodrows_between
(self, start: i64, end: i64)
crates/connect/src/window.rs:73
↓ 3 callersMethodsave_as_table
Saves the context of the [DataFrame] as the specified table.
crates/connect/src/readwriter.rs:718
↓ 3 callersMethodschema
(mut self, schema: T)
crates/connect/src/readwriter.rs:418
↓ 3 callersMethodsession_id
Return the session ID
crates/connect/src/session.rs:224
↓ 3 callersMethodsub
(self, other: Self)
crates/connect/src/column.rs:454
↓ 3 callersMethodtext
Reads data from text files with the specified options.
crates/connect/src/readwriter.rs:552
↓ 3 callersMethodwith_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 callersMethodactive
(&self)
crates/connect/src/streaming/mod.rs:608
↓ 2 callersMethodadd_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 callersMethodas_str_name
(&self)
crates/connect/src/types.rs:139
↓ 2 callersFunctionasc
sort functions Returns a sort expression based on the ascending order of the given column name.
crates/connect/src/functions/mod.rs:1205
↓ 2 callersMethodasc
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 callersMethodasc_nulls_last
(self)
crates/connect/src/column.rs:126
↓ 2 callersFunctionassign_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 callersFunctioncherry_pick
(pr_num, merge_hash, default_branch)
dev/merge_connect_rust_pr.py:226
↓ 2 callersMethodcontains
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 callersMethodcov
Calculate the sample covariance for the given columns, specified by their names, as a f64
crates/connect/src/dataframe.rs:268
↓ 2 callersMethodcreate_or_replace_global_temp_view
Creates or replaces a global temporary view using the given name.
crates/connect/src/dataframe.rs:297
↓ 2 callersMethoddatabase_exists
Check if the database with the specified name exists.
crates/connect/src/catalog.rs:153
↓ 2 callersMethoddesc_nulls_last
(self)
crates/connect/src/column.rs:166
↓ 2 callersMethoddistinct
Returns a new [DataFrame] containing the distinct rows in this [DataFrame].
crates/connect/src/dataframe.rs:383
↓ 2 callersMethoddrop
Returns a new [DataFrame] without the specified columns
crates/connect/src/dataframe.rs:393
↓ 2 callersMethoddrop_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 callersMethodendswith
A filter expression that evaluates if the column endswith a string literal
crates/connect/src/column.rs:292
↓ 2 callersMethodfetch_status
( &self, )
crates/connect/src/streaming/mod.rs:344
↓ 2 callersMethodfillna
Replace null values, alias for `df.na().fill()`.
crates/connect/src/dataframe.rs:521
↓ 2 callersMethodget_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 callersMethodis_cached
Returns true if the table is currently cached in-memory.
crates/connect/src/catalog.rs:328
↓ 2 callersMethodis_modifable
Indicates whether the configuration property with the given key is modifiable in the current session.
crates/connect/src/conf.rs:127
↓ 2 callersMethodisin
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 callersMethodlast_progress
(&self)
crates/connect/src/streaming/mod.rs:392
↓ 2 callersMethodlist_columns
Returns a list of columns for the given tables/views in the specific database
crates/connect/src/catalog.rs:258
↓ 2 callersMethodname
An alias for the function `alias`
crates/connect/src/column.rs:96
↓ 2 callersMethodpivot
Pivots a column of the current [DataFrame] and perform the specified aggregation
crates/connect/src/group.rs:119
↓ 2 callersMethodprint_schema
Prints out the schema in the tree format to a specific level number.
crates/connect/src/dataframe.rs:779
↓ 2 callersMethodprocess_stream
( &mut self, stream: &mut Streaming<spark::ExecutePlanResponse>, )
crates/connect/src/client/mod.rs:224
↓ 2 callersMethodrelease_all
(&mut self)
crates/connect/src/client/mod.rs:261
↓ 2 callersMethodrelease_execute
( &mut self, release: Option<spark::release_execute_request::Release>, )
crates/connect/src/client/mod.rs:270
↓ 2 callersFunctionresolve_jira_issue
(merge_branches, comment, default_jira_id="")
dev/merge_connect_rust_pr.py:301
↓ 2 callersMethodsave_table
(self, table_name: &str, save_method: i32)
crates/connect/src/readwriter.rs:691
↓ 2 callersMethodset
Sets the given Spark runtime configuration property.
crates/connect/src/conf.rs:61
↓ 2 callersMethodset_current_catalog
Sets the current default catalog in this session
crates/connect/src/catalog.rs:67
↓ 2 callersFunctionsetup
()
crates/connect/src/group.rs:148
↓ 2 callersFunctionsetup
()
crates/connect/src/session.rs:322
↓ 2 callersFunctionsort_order
(cols: I)
crates/connect/src/plan.rs:845
↓ 2 callersMethodstart_stream
( self, sink: Option<spark::write_stream_operation_start::SinkDestination>, )
crates/connect/src/streaming/mod.rs:227
↓ 2 callersMethodtable
(&self, name: &str)
crates/connect/src/session.rs:184
↓ 2 callersMethodtable
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 callersMethodto_datafusion
( self, ctx: &SessionContext, )
crates/connect/src/dataframe.rs:1191
↓ 2 callersMethodto_first_value
(&mut self, plan: spark::Plan)
crates/connect/src/client/mod.rs:558
↓ 2 callersMethodto_json
Converts a [DataFrame] into String representation of JSON Each row is turned into a JSON document
crates/connect/src/dataframe.rs:1171
↓ 2 callersFunctionto_json_object
(val: Vec<String>)
crates/connect/src/streaming/mod.rs:567
↓ 2 callersMethodto_proto_type
(&self)
crates/connect/src/types.rs:179
↓ 2 callersMethodunpivot
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 callersMethodvalidate_session
(&self, session_id: &str)
crates/connect/src/client/mod.rs:493
↓ 2 callersMethodvalidate_tag
(&self, tag: &str)
crates/connect/src/client/mod.rs:307
↓ 2 callersMethodwith_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 callersMethodadd
(self, other: Self)
crates/connect/src/column.rs:438
↓ 1 callersMethodalias
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 callersMethodanalyze_plan_request_with_metadata
(&self)
crates/connect/src/client/mod.rs:171
↓ 1 callersMethodapp_name
Sets a name for the application, which will be shown in the Spark web UI.
crates/connect/src/session.rs:96
↓ 1 callersMethodas_str_name
(&self)
crates/connect/src/streaming/mod.rs:125
↓ 1 callersMethodavg
Computes average values for each numeric columns for each group.
crates/connect/src/group.rs:78
↓ 1 callersMethodcache
Persists the [DataFrame] with the default [storage::StorageLevel::MemoryAndDiskDeser] (MEMORY_AND_DISK_DESER).
crates/connect/src/dataframe.rs:172
↓ 1 callersMethodcache_table
Caches the specified table in-memory or with given storage level.
crates/connect/src/catalog.rs:409
↓ 1 callersMethodcast
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 callersFunctionchoose_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 callersMethodclear_tags
Clear the current thread’s operation tags.
crates/connect/src/session.rs:285
↓ 1 callersMethodcoalesce
Returns a new [DataFrame] that has exactly `num_partitions` partitions.
crates/connect/src/dataframe.rs:178
↓ 1 callersMethodcol_regex
Selects column based on the column name specified as a regex and returns it as [Column].
crates/connect/src/dataframe.rs:183
↓ 1 callersMethodconfig
Sets a config option.
crates/connect/src/session.rs:90
↓ 1 callersMethodcorr
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 callersMethodcreate
(self)
crates/connect/src/readwriter.rs:822
↓ 1 callersMethodcreate_client
(&self)
crates/connect/src/session.rs:102
↓ 1 callersMethodcreate_external_table
Creates a table based on the dataset in a data source.
crates/connect/src/catalog.rs:376
↓ 1 callersFunctioncreate_map
Create a new map column.
crates/connect/src/functions/mod.rs:720
↓ 1 callersMethodcreate_or_replace_temp_view
Creates or replaces a local temporary view with this [DataFrame]
crates/connect/src/dataframe.rs:302
↓ 1 callersMethodcross_join
Returns the cartesian product with another [DataFrame].
crates/connect/src/dataframe.rs:332
↓ 1 callersMethodcrosstab
Computes a pair-wise frequency table of the given columns. Also known as a contingency table.
crates/connect/src/dataframe.rs:344
↓ 1 callersMethodcurrent_catalog
Returns the current default catalog in this session
crates/connect/src/catalog.rs:54
↓ 1 callersMethodcurrent_database
Returns the current default database in this session
crates/connect/src/catalog.rs:97
↓ 1 callersFunctiondesc
Returns a sort expression based on the descending order of the given column name.
crates/connect/src/functions/mod.rs:1220
↓ 1 callersMethoddescribe
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 callersMethoddeserialize
(&mut self, res: &[u8], row_count: i64)
crates/connect/src/client/mod.rs:503
↓ 1 callersMethoddrop_fields
(self, field_names: I)
crates/connect/src/column.rs:180
↓ 1 callersMethoddrop_global_temp_view
Drops the global temporary view with the given view name in the catalog.
crates/connect/src/catalog.rs:311
↓ 1 callersMethoddrop_temp_view
Drops the local temporary view with the given view name in the catalog.
crates/connect/src/catalog.rs:296
↓ 1 callersMethoddtypes
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 callersMethodendpoint
(&self)
crates/connect/src/client/builder.rs:64
↓ 1 callersMethodexcept_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 callersMethodfunction_exists
Check if the function with the specified name exists.
crates/connect/src/catalog.rs:222
← previousnext →101–200 of 681, ranked by callers