Struct aws_sdk_glue::model::SparkSql
source · [−]#[non_exhaustive]pub struct SparkSql { /* private fields */ }Expand description
Specifies a transform where you enter a SQL query using Spark SQL syntax to transform the data. The output is a single DynamicFrame.
Implementations
sourceimpl SparkSql
impl SparkSql
sourcepub fn inputs(&self) -> Option<&[String]>
pub fn inputs(&self) -> Option<&[String]>
The data inputs identified by their node names. You can associate a table name with each input node to use in the SQL query. The name you choose must meet the Spark SQL naming restrictions.
sourcepub fn sql_query(&self) -> Option<&str>
pub fn sql_query(&self) -> Option<&str>
A SQL query that must use Spark SQL syntax and return a single data set.
sourcepub fn sql_aliases(&self) -> Option<&[SqlAlias]>
pub fn sql_aliases(&self) -> Option<&[SqlAlias]>
A list of aliases. An alias allows you to specify what name to use in the SQL for a given input. For example, you have a datasource named "MyDataSource". If you specify From as MyDataSource, and Alias as SqlName, then in your SQL you can do:
select * from SqlName
and that gets data from MyDataSource.
sourcepub fn output_schemas(&self) -> Option<&[GlueSchema]>
pub fn output_schemas(&self) -> Option<&[GlueSchema]>
Specifies the data schema for the SparkSQL transform.
Trait Implementations
impl StructuralPartialEq for SparkSql
Auto Trait Implementations
impl RefUnwindSafe for SparkSql
impl Send for SparkSql
impl Sync for SparkSql
impl Unpin for SparkSql
impl UnwindSafe for SparkSql
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more