ClickHouse/tests/queries/0_stateless/02677_decode_url_component.sql
2023-03-11 02:24:44 +01:00

6 lines
237 B
SQL

SELECT
encodeURLComponent('кликхаус') AS encoded,
decodeURLComponent(encoded) = 'кликхаус' AS expected_EQ;
SELECT DISTINCT decodeURLComponent(encodeURLComponent(randomString(100) AS x)) = x FROM numbers(100000);