Delta snapshots are zero-indexed, so remove zeroMeansUndefined: true. (#17367)

This lets users filter by snapshotVersion: 0. Previously, zeroMeanUndefined
was set to true, so it would silently default to the latest snapshot.
This commit is contained in:
Abhishek Radhakrishnan 2024-10-17 08:33:10 -07:00 committed by GitHub
parent 8c52be81d3
commit 0e6c388b7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -1115,7 +1115,6 @@ export function getIoConfigFormFields(ingestionComboType: IngestionComboType): F
label: 'Delta snapshot version', label: 'Delta snapshot version',
type: 'number', type: 'number',
placeholder: '(latest)', placeholder: '(latest)',
zeroMeansUndefined: true,
info: ( info: (
<> <>
The snapshot version to read from the Delta table. By default, the latest snapshot is The snapshot version to read from the Delta table. By default, the latest snapshot is

View File

@ -667,7 +667,6 @@ export const INPUT_SOURCE_FIELDS: Field<InputSource>[] = [
label: 'Delta snapshot version', label: 'Delta snapshot version',
type: 'number', type: 'number',
placeholder: '(latest)', placeholder: '(latest)',
zeroMeansUndefined: true,
defined: typeIsKnown(KNOWN_TYPES, 'delta'), defined: typeIsKnown(KNOWN_TYPES, 'delta'),
info: ( info: (
<> <>