MCPcopy Create free account
hub / github.com/dataform-co/dataform / getEffectiveTableFolderRoot

Function getEffectiveTableFolderRoot

core/utils.ts:419–430  ·  view source on GitHub ↗
(
  defaultTableFolderRoot?: string,
  configTableFolderRoot?: string,
)

Source from the content-addressed store, hash-verified

417 * @returns tableFolderRoot used to construct storageUri for Iceberg tables
418 */
419export 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

Callers 3

utils_test.tsFile · 0.90
constructorMethod · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected