
create class if not exists Car : /test/oo (
    
    wheel		Wheel[4..4],
    remark		varchar,
    
    indexes(remark)
) with key=manu ;	

create class if not exists Camry : Car () with key=manu ;

alter class /test/oo/car add column  bk2  bucket {
        "type"  :  "tsdb",
        "param" : ["iparam1","iparam2","fparam1","fparam2","sparam1","vparam1"],
        "ptype" : ["i","i","f","f","s","s"],
        "unit"  : ["%","m","ms","ns","",""],
        "precision":[0,0,3,4,0,0],
        "ttl"   :   365,
        "crc"	 :	["iparam1", "sparam1"]
    } 'full',
    
    wwheel Wheel[4..4] "hhh"
/**
onerror(continue)
**/
;
