ClickHouse/tests/queries/0_stateless/02863_decode_html_component.sql
Bharat Nallan Chakravarthy e281a78950 add basic tests
2023-08-30 21:57:43 -07:00

25 lines
1.4 KiB
SQL

SELECT decodeHTMLComponent('Hello, "world"!');
SELECT decodeHTMLComponent('<123>');
SELECT decodeHTMLComponent('&clickhouse');
SELECT decodeHTMLComponent(''foo'');
SELECT decodeHTMLComponent('Hello, && world');
SELECT decodeHTMLComponent('Hello, &;& world');
SELECT decodeHTMLComponent('Hello, &a;& world');
SELECT decodeHTMLComponent('Hello, &ltt;& world');
SELECT decodeHTMLComponent('Hello, &ltt& world');
SELECT decodeHTMLComponent('Hello, &t;& world');
SELECT decodeHTMLComponent(' !"#$%&'()*+,-./012');
SELECT decodeHTMLComponent(')*+,-./0123456789:&#59;<');
SELECT decodeHTMLComponent('=>?@ABCDEFGHIJKLMNOP');
SELECT decodeHTMLComponent('为');
SELECT decodeHTMLComponent('为');
SELECT decodeHTMLComponent('�'123');
SELECT decodeHTMLComponent('ЦЦЮЮЫㄱ');
SELECT decodeHTMLComponent('C𝓁𝒾𝒸𝓀𝐻𝑜𝓊𝓈𝑒');
SELECT decodeHTMLComponent('C𝓁𝒾𝒸𝓀𝐻𝑜𝓊𝓈&#x1d452');
SELECT decodeHTMLComponent('C𝓁𝒾𝒸𝓀𝐻𝑜𝓊𝓈&#x1d452{');
SELECT decodeHTMLComponent('');
SELECT decodeHTMLComponent('C');