**What is the bug?** CalciteSortCommandIT.testSortWithNullValue failure **How can one reproduce the bug?** run above test **What is the expected behavior?** The test should succeed.