#
#   Create stream with statics
#
testqql
CREATE DURABLE STREAM S (
    CLASS A (        
        F FLOAT DECIMAL (10)
    );    
)
OPTIONS (fixedType)
/
>com.epam.deltix.timebase.messages.service.ErrorMessage,TIMESTAMP,SYMBOL,TYPE,details,errorType,level,messageText,seqNum
!shellmatch
0,*,,_,SUCCESS,INFO,Stream created,0
!end
#
#   Describe
#
testdesc S
DURABLE STREAM S 'S' (
    CLASS A (
        F FLOAT DECIMAL (10)
    );
)
OPTIONS (FIXEDTYPE; PERIODICITY = 'IRREGULAR'; HIGHAVAILABILITY = FALSE; UNIQUE = FALSE; STORAGEVERSION = '5')
!end
#
#   Drop stream via qql
#
test drop stream S
>com.epam.deltix.timebase.messages.service.ErrorMessage,TIMESTAMP,SYMBOL,TYPE,details,errorType,level,messageText,seqNum
!shellmatch
0,*,,_,SUCCESS,INFO,Stream dropped,0
!end
#
#   Test illegal fixed-type creation
#
testqql
CREATE DURABLE STREAM S (
    CLASS A (        
        F FLOAT DECIMAL (10)
    );   
    CLASS B (        
        F FLOAT DECIMAL (10)
    );  
)
OPTIONS (fixedType)
/
!shellmatch
*IllegalFixedTypeStreamException*
!end
