Skip to content

Commit

Permalink
[Index Management] Fix mapping_tab error due to _data_stream_timestamp (
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatsarkar056 committed May 13, 2024
1 parent 306e5ec commit 3d79d43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ describe('Mappings configuration validator', () => {
required: false,
},
dynamic: true,
_data_stream_timestamp: {
enabled: true,
},
// Mapper-size plugin
_size: {
enabled: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ export const validateProperties = (properties: unknown = {}): PropertiesValidato
export const mappingsConfigurationSchema = t.exact(
t.partial({
properties: t.UnknownRecord,
_data_stream_timestamp: t.interface({
enabled: t.boolean,
}),
runtime: t.UnknownRecord,
dynamic: t.union([
t.literal(true),
Expand Down

0 comments on commit 3d79d43

Please sign in to comment.