mirror of https://github.com/apache/druid.git
fix LongsColumnWithNulls and FloatsColumnWithNulls to override isNull in order to actually use nullValueBitmap (#5510)
This commit is contained in:
parent
58f110f7f8
commit
885b975c95
|
@ -44,6 +44,12 @@ class FloatsColumnWithNulls extends FloatsColumn
|
||||||
return column.makeColumnValueSelector(offset, nullValueBitmap);
|
return column.makeColumnValueSelector(offset, nullValueBitmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isNull(int rowNum)
|
||||||
|
{
|
||||||
|
return nullValueBitmap.get(rowNum);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void inspectRuntimeShape(RuntimeShapeInspector inspector)
|
public void inspectRuntimeShape(RuntimeShapeInspector inspector)
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,6 +44,12 @@ class LongsColumnWithNulls extends LongsColumn
|
||||||
return column.makeColumnValueSelector(offset, nullValueBitmap);
|
return column.makeColumnValueSelector(offset, nullValueBitmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isNull(int rowNum)
|
||||||
|
{
|
||||||
|
return nullValueBitmap.get(rowNum);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void inspectRuntimeShape(RuntimeShapeInspector inspector)
|
public void inspectRuntimeShape(RuntimeShapeInspector inspector)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue