JSON_VALUE() does not work on Azure SQL Data Warehouse even if the compatibility level is 130.
Despite having the compatility_level set to 130, it seems that I cannot have the JSON_VALUE working on Azure SQL Data Warehouse. ref: https://docs.microsoft.com/en-us/sql/t-sql/functions/json-functions-transact-sql?view=sql-server-2017
CREATE TABLE dbo.test (
doc_name VARCHAR(255) NOT NULL,
code VARCHAR(80) NOT NULL,
currentState_id INT NULL,
json_doc NVARCHAR(MAX) null ) WITH (
DISTRIBUTION = HASH ( doc_name ),
CLUSTERED INDEX ( doc_name ASC ) );
insert into dbo.test ([doc_name],[code],[currentState_id],[json_doc]) values ('doc1.txt','doc1',1,'{"one":"value1","two":"value2"}');
select JSON_VALUE(json_doc,'$.one') from dbo.test where code = 'doc1';
-- Msg 104162, Level 16, State 1, Line 17
-- 'JSON_VALUE' is not a recognized built-in function name. SELECT compatibility_level FROM SYS.databases where name = my_DW';
-- returns 130
From what I understand, according to the documentation, JSON_VALUE should work on Azure SQL Data Warehouse if the compatibility level is 130.

SELECT @@VERSION AS 'SQL Data Warehouse';revealed that my data warehouse is still in Microsoft Azure SQL Data Warehouse - 10.0.9999.0 Apr 9 2019 06:29:14 Copyright (c) Microsoft Corporation. - Simon VaillancourtMicrosoft Azure SQL Data Warehouse - 10.0.9999.0 May 30 2019. - wBob