Merge pull request #63380 from ClickHouse/test-55655

Add a test for #55655
This commit is contained in:
Alexey Milovidov 2024-05-05 23:13:56 +00:00 committed by GitHub
commit 306d5a8f5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,2 @@
28A42640E39BB93F016A919E241536D33F020000000000000002000000000000000000000000000000000000000000000000 8014AE47E17AA43F01676666666666F6BF020000000000000002000000000000000000000000000000000000000000000000
1 0

View File

@ -0,0 +1,28 @@
SET allow_experimental_analyzer = 1;
select * APPLY hex
from (
select (
select stochasticLogisticRegressionState(0.1, 0., 5, 'SGD')(number, number)
from numbers(10)
) as col1,
(
select stochasticLinearRegressionState(0.1, 0., 5, 'SGD')(number, number)
from numbers(10)
) as col2
from numbers(1)
);
SELECT *
FROM
(
SELECT
bitmapHasAny(bitmapBuild([toUInt8(1)]),
(
SELECT groupBitmapState(toUInt8(1))
)) has1,
bitmapHasAny(bitmapBuild([toUInt64(1)]),
(
SELECT groupBitmapState(toUInt64(2))
)) has2
);