[regressiontest]add hash function test case (#9918)

This commit is contained in:
zy-kkk
2022-06-02 14:51:25 +08:00
committed by GitHub
parent f681c0891f
commit 2ad38e6ab2
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- This file is automatically generated. You should know what you did if you want to edit this
-- !sql --
\N
-- !sql --
1321743225
-- !sql --
984713481

View File

@ -0,0 +1,24 @@
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
suite("test_hash_function", "query") {
sql "set enable_vectorized_engine = true;"
sql "set batch_size = 4096;"
qt_sql "SELECT murmur_hash3_32(null);"
qt_sql "SELECT murmur_hash3_32(\"hello\");"
qt_sql "SELECT murmur_hash3_32(\"hello\", \"world\");"
}