Gets code to perform a specified mapping.
glue_get_plan(Mapping, Source, Sinks, Location, Language,
AdditionalPlanOptionsMap)
[required] The list of mappings from a source table to target tables.
[required] The source table.
The target tables.
The parameters for the mapping.
The programming language of the code to perform the mapping.
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
inferSchema
<U+00A0> <U+2014> <U+00A0>Specifies whether to set inferSchema
to true or
false for the default script generated by an AWS Glue job. For
example, to set inferSchema
to true, pass the following key value
pair:
--additional-plan-options-map '{"inferSchema":"true"}'
A list with the following syntax:
list( PythonScript = "string", ScalaCode = "string" )
svc$get_plan( Mapping = list( list( SourceTable = "string", SourcePath = "string", SourceType = "string", TargetTable = "string", TargetPath = "string", TargetType = "string" ) ), Source = list( DatabaseName = "string", TableName = "string" ), Sinks = list( list( DatabaseName = "string", TableName = "string" ) ), Location = list( Jdbc = list( list( Name = "string", Value = "string", Param = TRUE|FALSE ) ), S3 = list( list( Name = "string", Value = "string", Param = TRUE|FALSE ) ), DynamoDB = list( list( Name = "string", Value = "string", Param = TRUE|FALSE ) ) ), Language = "PYTHON"|"SCALA", AdditionalPlanOptionsMap = list( "string" ) )