( defaultTableFolderRoot?: string, configTableFolderRoot?: string, )
| 417 | * @returns tableFolderRoot used to construct storageUri for Iceberg tables |
| 418 | */ |
| 419 | export function getEffectiveTableFolderRoot( |
| 420 | defaultTableFolderRoot?: string, |
| 421 | configTableFolderRoot?: string, |
| 422 | ): string { |
| 423 | if (configTableFolderRoot) { |
| 424 | return configTableFolderRoot; |
| 425 | } else if (defaultTableFolderRoot) { |
| 426 | return defaultTableFolderRoot; |
| 427 | } else { |
| 428 | return "_dataform"; |
| 429 | } |
| 430 | } |
| 431 | |
| 432 | /** |
| 433 | * Returns the tableFolderSubpath which will be used to construct storageUri for |
no outgoing calls
no test coverage detected