eldenmoon commented on issue #33252:
URL: https://github.com/apache/doris/issues/33252#issuecomment-2041290010

   your sql is syntacticly wrong,you should use full sql like :
   ``` sql
   CREATE DATABASE test_variant;
   USE test_variant;
   CREATE TABLE IF NOT EXISTS github_events (
       id BIGINT NOT NULL,
       type VARCHAR(30) NULL,
       actor VARIANT NULL,
       repo VARIANT NULL,
       payload VARIANT NULL,
       public BOOLEAN NULL,
       created_at DATETIME NULL,
       INDEX idx_payload (`payload`) USING INVERTED PROPERTIES("parser" = 
"english") COMMENT 'inverted index for payload'
   )
   DUPLICATE KEY(`id`)
   DISTRIBUTED BY HASH(id) BUCKETS 10
   properties("replication_num" = "1");
   ```
   
   referer to 
https://doris.apache.org/docs/sql-manual/sql-reference/Data-Types/VARIANT


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to