This is an automated email from the ASF dual-hosted git repository.

vogievetsky pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 0e6c388b7ff Delta snapshots are zero-indexed, so remove 
zeroMeansUndefined: true. (#17367)
0e6c388b7ff is described below

commit 0e6c388b7ffac4af710bf7499b03cf4efa26bff8
Author: Abhishek Radhakrishnan <[email protected]>
AuthorDate: Thu Oct 17 08:33:10 2024 -0700

    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.
---
 web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx | 1 -
 web-console/src/druid-models/input-source/input-source.tsx     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx 
b/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx
index 09ad1d73921..109972e6ba0 100644
--- a/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx
+++ b/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx
@@ -1115,7 +1115,6 @@ export function getIoConfigFormFields(ingestionComboType: 
IngestionComboType): F
           label: 'Delta snapshot version',
           type: 'number',
           placeholder: '(latest)',
-          zeroMeansUndefined: true,
           info: (
             <>
               The snapshot version to read from the Delta table. By default, 
the latest snapshot is
diff --git a/web-console/src/druid-models/input-source/input-source.tsx 
b/web-console/src/druid-models/input-source/input-source.tsx
index 6ad3b8e0a1a..dc793ce6456 100644
--- a/web-console/src/druid-models/input-source/input-source.tsx
+++ b/web-console/src/druid-models/input-source/input-source.tsx
@@ -667,7 +667,6 @@ export const INPUT_SOURCE_FIELDS: Field<InputSource>[] = [
     label: 'Delta snapshot version',
     type: 'number',
     placeholder: '(latest)',
-    zeroMeansUndefined: true,
     defined: typeIsKnown(KNOWN_TYPES, 'delta'),
     info: (
       <>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to