@@ -104,23 +104,23 @@ export class BigQueryQueryCtrl extends QueryCtrl {
104104
105105 this . projectSegment = ! this . target . project
106106 ? uiSegmentSrv . newSegment ( {
107- fake : true ,
108- value : 'select project' ,
109- } )
107+ fake : true ,
108+ value : 'select project' ,
109+ } )
110110 : uiSegmentSrv . newSegment ( this . target . project ) ;
111111
112112 this . datasetSegment = ! this . target . dataset
113113 ? uiSegmentSrv . newSegment ( {
114- fake : true ,
115- value : 'select dataset' ,
116- } )
114+ fake : true ,
115+ value : 'select dataset' ,
116+ } )
117117 : uiSegmentSrv . newSegment ( this . target . dataset ) ;
118118
119119 this . tableSegment = ! this . target . table
120120 ? uiSegmentSrv . newSegment ( {
121- fake : true ,
122- value : 'select table' ,
123- } )
121+ fake : true ,
122+ value : 'select table' ,
123+ } )
124124 : uiSegmentSrv . newSegment ( this . target . table ) ;
125125
126126 this . timeColumnSegment = uiSegmentSrv . newSegment ( this . target . timeColumn ) ;
@@ -457,7 +457,7 @@ export class BigQueryQueryCtrl extends QueryCtrl {
457457 partModel . params [ 0 ] = subItem . value ;
458458 }
459459 let addAlias = false ;
460- const _addAlias = function ( ) {
460+ const _addAlias = function ( ) {
461461 return ! _ . find ( selectParts , ( p : any ) => p . def . type === 'alias' ) ;
462462 } ;
463463 switch ( partType ) {
@@ -663,7 +663,19 @@ export class BigQueryQueryCtrl extends QueryCtrl {
663663 return this . $q . when ( [ ] ) ;
664664 case 'op' :
665665 return this . $q . when (
666- this . uiSegmentSrv . newOperators ( [ '=' , '!=' , '<' , '<=' , '>' , '>=' , 'IN' , 'LIKE' , 'NOT LIKE' ] )
666+ this . uiSegmentSrv . newOperators ( [
667+ '=' ,
668+ '!=' ,
669+ '<' ,
670+ '<=' ,
671+ '>' ,
672+ '>=' ,
673+ 'IN' ,
674+ 'LIKE' ,
675+ 'NOT LIKE' ,
676+ 'IS' ,
677+ 'IS NOT' ,
678+ ] )
667679 ) ;
668680 default :
669681 return this . $q . when ( [ ] ) ;
0 commit comments