mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Merge pull request #63380 from ClickHouse/test-55655
Add a test for #55655
This commit is contained in:
commit
306d5a8f5f
@ -0,0 +1,2 @@
|
||||
28A42640E39BB93F016A919E241536D33F020000000000000002000000000000000000000000000000000000000000000000 8014AE47E17AA43F01676666666666F6BF020000000000000002000000000000000000000000000000000000000000000000
|
||||
1 0
|
@ -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
|
||||
);
|
Loading…
Reference in New Issue
Block a user