aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/postgresql/cases/unicode.err
blob: 6763d250fcd047e3ba80d4217e290d7f2ca32880 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<sql-statement>
SELECT U&'\0061\0308bc' <> U&'\00E4bc' COLLATE "C" AS sanity_check;
</sql-statement>
-stdin-:<main>: Error: Parse Sql

    -stdin-:<main>:1:25: Error: alternative is not implemented yet : 365
    	SELECT U&'\0061\0308bc' <> U&'\00E4bc' COLLATE "C" AS sanity_check;
	                        ^
<sql-statement>
SELECT normalize('');
</sql-statement>
-stdin-:<main>: Error: Type annotation

    -stdin-:<main>:1:1: Error: At function: RemovePrefixMembers, At function: PgSelect, At function: PgSetItem, At function: PgResultItem
    	SELECT normalize('');
	^
        -stdin-:<main>:1:8: Error: At function: PgCall
        	SELECT normalize('');
	       ^
            -stdin-:<main>:1:8: Error: Unable to find an overload for proc normalize with given argument types: (unknown)
            	SELECT normalize('');
	       ^
<sql-statement>
SELECT normalize(U&'\0061\0308\24D1c') = U&'\00E4\24D1c' COLLATE "C" AS test_default;
</sql-statement>
-stdin-:<main>: Error: Parse Sql

    -stdin-:<main>:1:40: Error: alternative is not implemented yet : 365
    	SELECT normalize(U&'\0061\0308\24D1c') = U&'\00E4\24D1c' COLLATE "C" AS test_default;
	                                       ^
<sql-statement>
SELECT normalize(U&'\0061\0308\24D1c', NFC) = U&'\00E4\24D1c' COLLATE "C" AS test_nfc;
</sql-statement>
-stdin-:<main>: Error: Parse Sql

    -stdin-:<main>:1:45: Error: alternative is not implemented yet : 365
    	SELECT normalize(U&'\0061\0308\24D1c', NFC) = U&'\00E4\24D1c' COLLATE "C" AS test_nfc;
	                                            ^
<sql-statement>
SELECT normalize(U&'\00E4bc', NFC) = U&'\00E4bc' COLLATE "C" AS test_nfc_idem;
</sql-statement>
-stdin-:<main>: Error: Parse Sql

    -stdin-:<main>:1:36: Error: alternative is not implemented yet : 365
    	SELECT normalize(U&'\00E4bc', NFC) = U&'\00E4bc' COLLATE "C" AS test_nfc_idem;
	                                   ^
<sql-statement>
SELECT normalize(U&'\00E4\24D1c', NFD) = U&'\0061\0308\24D1c' COLLATE "C" AS test_nfd;
</sql-statement>
-stdin-:<main>: Error: Parse Sql

    -stdin-:<main>:1:40: Error: alternative is not implemented yet : 365
    	SELECT normalize(U&'\00E4\24D1c', NFD) = U&'\0061\0308\24D1c' COLLATE "C" AS test_nfd;
	                                       ^
<sql-statement>
SELECT normalize(U&'\0061\0308\24D1c', NFKC) = U&'\00E4bc' COLLATE "C" AS test_nfkc;
</sql-statement>
-stdin-:<main>: Error: Parse Sql

    -stdin-:<main>:1:46: Error: alternative is not implemented yet : 365
    	SELECT normalize(U&'\0061\0308\24D1c', NFKC) = U&'\00E4bc' COLLATE "C" AS test_nfkc;
	                                             ^
<sql-statement>
SELECT normalize(U&'\00E4\24D1c', NFKD) = U&'\0061\0308bc' COLLATE "C" AS test_nfkd;
</sql-statement>
-stdin-:<main>: Error: Parse Sql

    -stdin-:<main>:1:41: Error: alternative is not implemented yet : 365
    	SELECT normalize(U&'\00E4\24D1c', NFKD) = U&'\0061\0308bc' COLLATE "C" AS test_nfkd;
	                                        ^
<sql-statement>
SELECT "normalize"('abc', 'def');  -- run-time error
</sql-statement>
-stdin-:<main>: Fatal: Execution

    -stdin-:<main>:1:1: Fatal: Execution of node: Result
    	SELECT "normalize"('abc', 'def');  -- run-time error
	^
        -stdin-:<main>:1:1: Fatal: ERROR:  invalid normalization form: def

        	SELECT "normalize"('abc', 'def');  -- run-time error
	^
<sql-statement>
SELECT U&'\00E4\24D1c' IS NORMALIZED AS test_default;
</sql-statement>
-stdin-:<main>: Error: Type annotation

    -stdin-:<main>:1:1: Error: At function: RemovePrefixMembers, At function: PgSelect, At function: PgSetItem, At function: PgResultItem
    	SELECT U&'\00E4\24D1c' IS NORMALIZED AS test_default;
	^
        -stdin-:<main>:1:24: Error: At function: PgCall
        	SELECT U&'\00E4\24D1c' IS NORMALIZED AS test_default;
	                       ^
            -stdin-:<main>:1:24: Error: Unable to find an overload for proc is_normalized with given argument types: (unknown)
            	SELECT U&'\00E4\24D1c' IS NORMALIZED AS test_default;
	                       ^
<sql-statement>
SELECT U&'\00E4\24D1c' IS NFC NORMALIZED AS test_nfc;
</sql-statement>
<sql-statement>
SELECT num, val,
    val IS NFC NORMALIZED AS NFC,
    val IS NFD NORMALIZED AS NFD,
    val IS NFKC NORMALIZED AS NFKC,
    val IS NFKD NORMALIZED AS NFKD
FROM
  (VALUES (1, U&'\00E4bc'),
          (2, U&'\0061\0308bc'),
          (3, U&'\00E4\24D1c'),
          (4, U&'\0061\0308\24D1c'),
          (5, '')) vals (num, val)
ORDER BY num;
</sql-statement>
<sql-statement>
SELECT is_normalized('abc', 'def');  -- run-time error
</sql-statement>
-stdin-:<main>: Fatal: Execution

    -stdin-:<main>:1:1: Fatal: Execution of node: Result
    	SELECT is_normalized('abc', 'def');  -- run-time error
	^
        -stdin-:<main>:1:1: Fatal: ERROR:  invalid normalization form: def

        	SELECT is_normalized('abc', 'def');  -- run-time error
	^