You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	MDEV-32854: Make JSON_DEPTH_LIMIT unlimited
This patch is the columnstore-part of the task. Columnstore wanted to have previous 32 depth, so this patch aims at keeping the compatibility.
This commit is contained in:
		
				
					committed by
					
						
						Leonid Fedorov
					
				
			
			
				
	
			
			
			
						parent
						
							9a2ebebaf9
						
					
				
				
					commit
					9fe37d5919
				
			@@ -6,16 +6,12 @@ USE json_exists_db;
 | 
			
		||||
# ----------------------------------------------------------------------
 | 
			
		||||
# Test case 0
 | 
			
		||||
CREATE TABLE t1(j TEXT, p TEXT) ENGINE = columnstore;
 | 
			
		||||
SET
 | 
			
		||||
@json = '{"key1":"xxxx", "key2":[1, 2, 3]}';
 | 
			
		||||
INSERT INTO
 | 
			
		||||
t1
 | 
			
		||||
VALUES
 | 
			
		||||
(@json, '$.key1'),
 | 
			
		||||
(@json, '$.key1[0]'),
 | 
			
		||||
(@json, '$.key2'),
 | 
			
		||||
(@json, '$.key2[1]'),
 | 
			
		||||
(@json, '$.key2[10]');
 | 
			
		||||
SET @json = '{"key1":"xxxx", "key2":[1, 2, 3]}';
 | 
			
		||||
INSERT INTO t1 VALUES (@json, '$.key1');
 | 
			
		||||
INSERT INTO t1 VALUES (@json, '$.key1[0]');
 | 
			
		||||
INSERT INTO t1 VALUES (@json, '$.key2');
 | 
			
		||||
INSERT INTO t1 VALUES (@json, '$.key2[1]');
 | 
			
		||||
INSERT INTO t1 VALUES (@json, '$.key2[10]');
 | 
			
		||||
SELECT
 | 
			
		||||
j,
 | 
			
		||||
p,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user