Glue.Table
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-column.html
and table_identifier = {
database_name : string option;
region : string option;
catalog_id : string option;
name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableidentifier.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-metadataoperation.html;
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemaid.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-order.html
and skewed_info = {
skewed_column_names : string list option;
skewed_column_values : string list option;
skewed_column_value_location_maps : Yojson.Safe.t option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-skewedinfo.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-serdeinfo.html
and schema_reference = {
schema_version_id : string option;
schema_id : schema_id option;
schema_version_number : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-iceberginput.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-opentableformatinput.html
and storage_descriptor = {
stored_as_sub_directories : bool option;
parameters : Yojson.Safe.t option;
bucket_columns : string list option;
number_of_buckets : int option;
output_format : string option;
columns : column list option;
serde_info : serde_info option;
sort_columns : order list option;
compressed : bool option;
schema_reference : schema_reference option;
skewed_info : skewed_info option;
input_format : string option;
location : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html
and table_input = {
owner : string option;
view_original_text : string option;
description : string option;
table_type : string option;
parameters : Yojson.Safe.t option;
view_expanded_text : string option;
storage_descriptor : storage_descriptor option;
target_table : table_identifier option;
partition_keys : column list option;
retention : int option;
name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html
type properties = {
table_input : table_input;
open_table_format_input : open_table_format_input option;
database_name : string;
catalog_id : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html;
val make_properties :
table_input:table_input ->
?open_table_format_input:open_table_format_input ->
database_name:string ->
catalog_id:string ->
unit ->
properties
val make_column :
?comment:string ->
?type_:string ->
name:string ->
unit ->
column
val make_table_identifier :
?database_name:string ->
?region:string ->
?catalog_id:string ->
?name:string ->
unit ->
table_identifier
val make_schema_id :
?registry_name:string ->
?schema_name:string ->
?schema_arn:string ->
unit ->
schema_id
val make_order : column:string -> sort_order:int -> unit -> order
val make_skewed_info :
?skewed_column_names:string list ->
?skewed_column_values:string list ->
?skewed_column_value_location_maps:Yojson.Safe.t ->
unit ->
skewed_info
val make_serde_info :
?parameters:Yojson.Safe.t ->
?serialization_library:string ->
?name:string ->
unit ->
serde_info
val make_schema_reference :
?schema_version_id:string ->
?schema_id:schema_id ->
?schema_version_number:int ->
unit ->
schema_reference
val make_iceberg_input :
?metadata_operation:metadata_operation ->
?version:string ->
unit ->
iceberg_input
val make_open_table_format_input :
?iceberg_input:iceberg_input ->
unit ->
open_table_format_input
val make_storage_descriptor :
?stored_as_sub_directories:bool ->
?parameters:Yojson.Safe.t ->
?bucket_columns:string list ->
?number_of_buckets:int ->
?output_format:string ->
?columns:column list ->
?serde_info:serde_info ->
?sort_columns:order list ->
?compressed:bool ->
?schema_reference:schema_reference ->
?skewed_info:skewed_info ->
?input_format:string ->
?location:string ->
unit ->
storage_descriptor
val make_table_input :
?owner:string ->
?view_original_text:string ->
?description:string ->
?table_type:string ->
?parameters:Yojson.Safe.t ->
?view_expanded_text:string ->
?storage_descriptor:storage_descriptor ->
?target_table:table_identifier ->
?partition_keys:column list ->
?retention:int ->
?name:string ->
unit ->
table_input
val yojson_of_column : column -> Yojson.Safe.t
val yojson_of_table_identifier : table_identifier -> Yojson.Safe.t
val yojson_of_metadata_operation : metadata_operation -> Yojson.Safe.t
val yojson_of_schema_id : schema_id -> Yojson.Safe.t
val yojson_of_order : order -> Yojson.Safe.t
val yojson_of_skewed_info : skewed_info -> Yojson.Safe.t
val yojson_of_serde_info : serde_info -> Yojson.Safe.t
val yojson_of_schema_reference : schema_reference -> Yojson.Safe.t
val yojson_of_iceberg_input : iceberg_input -> Yojson.Safe.t
val yojson_of_open_table_format_input :
open_table_format_input ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_storage_descriptor : storage_descriptor -> Yojson.Safe.t
val yojson_of_table_input :
table_input ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes