You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-30 07:25:34 +03:00 
			
		
		
		
	JSON_OBJECT() (and probably some other JSON functions) now properly handle empty strings in their arguments - JSON_OBJECT used to return NULL, now it returns empty string.
		
			
				
	
	
		
			13 lines
		
	
	
		
			397 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			397 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| DROP DATABASE IF EXISTS MCOL5842;
 | |
| CREATE DATABASE MCOL5842;
 | |
| USE MCOL5842;
 | |
| CREATE TABLE tcs(t TEXT) ENGINE=Columnstore;
 | |
| INSERT INTO tcs(t) VALUES ('');
 | |
| SELECT JSON_OBJECT('t', t, 'a', 'b') FROM tcs;
 | |
| JSON_OBJECT('t', t, 'a', 'b')
 | |
| {"t": "", "a": "b"}
 | |
| SELECT GROUP_CONCAT(JSON_OBJECT('t', t, 'a', 'b')) FROM tcs;
 | |
| GROUP_CONCAT(JSON_OBJECT('t', t, 'a', 'b'))
 | |
| {"t": "", "a": "b"}
 | |
| DROP DATABASE MCOL5842;
 |