Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Isan-Rivkin committed Oct 19, 2023
1 parent 2b401b9 commit d0098c8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/howto/hooks/lua.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,12 @@ A Package for automating the export process from lakeFS stored tables into Glue
Represent lakeFS table in Glue Catalog.
This function assumes there is a symlink export already created.

`glue`: AWS glue client
`db(string)`: glue database name
`table_src_path(string)`: path to table spec (i.e _lakefs_tables/my_table.yaml)
`create_table_input(Table)`: Input equal mapping to [table_input](https://docs.aws.amazon.com/glue/latest/webapAPI_CreateTable.html#API_CreateTable_RequestSyntax) in AWS, the same as we use for `glue.create_table`.
Parameters:

- `glue`: AWS glue client
- `db(string)`: glue database name
- `table_src_path(string)`: path to table spec (i.e _lakefs_tables/my_table.yaml)
- `create_table_input(Table)`: Input equal mapping to [table_input](https://docs.aws.amazon.com/glue/latest/webapAPI_CreateTable.html#API_CreateTable_RequestSyntax) in AWS, the same as we use for `glue.create_table`.
should contain inputs describing the data format (i.e InputFormat, OutputFormat, SerdeInfo) since the exporter is agnostic to this.
by default this function will configure table location and schema.
- `action_info(Table)`: the global action object.
Expand Down

0 comments on commit d0098c8

Please sign in to comment.