mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
docs: standardize fanout terminology (#218)
This commit is contained in:
parent
4827437f3a
commit
924868841d
19 changed files with 66 additions and 66 deletions
|
|
@ -76,7 +76,7 @@ describe('local ingest adapters', () => {
|
|||
expect(looker?.fetch).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
it('returns the explicit Metabase fan-out boundary before runner construction', async () => {
|
||||
it('returns the explicit Metabase fanout boundary before runner construction', async () => {
|
||||
const metabase = createDefaultLocalIngestAdapters(project).find((adapter) => adapter.source === 'metabase');
|
||||
|
||||
await expect(localPullConfigForAdapter(project, metabase!, 'warehouse')).rejects.toThrow(
|
||||
|
|
|
|||
|
|
@ -336,7 +336,7 @@ export async function runLocalMetabaseIngest(
|
|||
options: RunLocalMetabaseIngestOptions,
|
||||
): Promise<LocalMetabaseFanoutResult> {
|
||||
if ((options as RunLocalMetabaseIngestOptions & { sourceDir?: string }).sourceDir) {
|
||||
throw new Error('source-dir uploads are not supported for the Metabase fan-out adapter');
|
||||
throw new Error('source-dir uploads are not supported for the Metabase fanout adapter');
|
||||
}
|
||||
|
||||
const metabaseConnectionId = safeSegment('metabase connection id', options.metabaseConnectionId);
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ describe('runLocalMetabaseIngest', () => {
|
|||
).rejects.toThrow('no sync-enabled mappings with a target connection');
|
||||
});
|
||||
|
||||
it('seeds yaml-only Metabase mappings before the unhydrated fan-out preflight', async () => {
|
||||
it('seeds yaml-only Metabase mappings before the unhydrated fanout preflight', async () => {
|
||||
project.config.connections['prod-metabase'].mappings = {
|
||||
databaseMappings: { '1': 'warehouse_a' },
|
||||
syncEnabled: { '1': true },
|
||||
|
|
@ -172,7 +172,7 @@ describe('runLocalMetabaseIngest', () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it('rejects source-dir uploads through the Metabase fan-out runner', async () => {
|
||||
it('rejects source-dir uploads through the Metabase fanout runner', async () => {
|
||||
await expect(
|
||||
runLocalMetabaseIngest({
|
||||
project,
|
||||
|
|
@ -181,7 +181,7 @@ describe('runLocalMetabaseIngest', () => {
|
|||
agentRunner: new TestAgentRunner(),
|
||||
sourceDir: tempDir,
|
||||
} as Parameters<typeof runLocalMetabaseIngest>[0] & { sourceDir: string }),
|
||||
).rejects.toThrow('source-dir uploads are not supported for the Metabase fan-out adapter');
|
||||
).rejects.toThrow('source-dir uploads are not supported for the Metabase fanout adapter');
|
||||
});
|
||||
|
||||
it('reports partial failure when a child job fails', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue