Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/querying/sql-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ Returns the following:

## ARRAY_OFFSET_OF

Returns the zero-based index of the first occurrence of the expression in the array. Returns null if the value isn't present, or `-1` if `druid.generic.useDefaultValueForNull=true` (deprecated legacy mode).
Returns the zero-based index of the first occurrence of the expression in the array. Returns null if the value isn't present.

* **Syntax**: `ARRAY_OFFSET_OF(arr, expr)`
* **Function type:** Array
Expand Down Expand Up @@ -721,7 +721,7 @@ Returns the following:

## ARRAY_ORDINAL_OF

Returns the one-based index of the first occurrence of the expression in the array. Returns null if the value isn't present, or `-1` if `druid.generic.useDefaultValueForNull=true` (deprecated legacy mode).
Returns the one-based index of the first occurrence of the expression in the array. Returns null if the value isn't present.

* **Syntax**: `ARRAY_ORDINAL_OF(arr, expr)`
* **Function type:** Array
Expand Down
5 changes: 0 additions & 5 deletions examples/conf/druid/auto/_common/common.runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true
5 changes: 0 additions & 5 deletions examples/conf/druid/cluster/_common/common.runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true

Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true

Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true

Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true

Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true

Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,3 @@ druid.sql.planner.useGroupingSetForExactDistinct=true
# Lookups
#
druid.lookup.enableLookupSyncOnStartup=false

#
# Expression processing config
#
druid.expressions.useStrictBooleans=true

Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ public void testIngestAndScanSegmentsRealtimeSchemaDiscoveryArrayTypes() throws
}

@Test
public void testIngestAndScanSegmentsRealtimeSchemaDiscoveryMoreArrayTypesStrictBooleans() throws Exception
public void testIngestAndScanSegmentsRealtimeSchemaDiscoveryMoreArrayTypes() throws Exception
{
Druids.ScanQueryBuilder builder = Druids.newScanQueryBuilder()
.dataSource("test_datasource")
Expand Down
Loading