Skip to content

Commit 54be507

Browse files
allwefantasypeacewong
authored andcommitted
add .mlsql script
1 parent 755888e commit 54be507

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/service/mixin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default{
77
{ rule: /\.(bi)$/i, executable: false, logo: 'fi-bi', isCanBeNew: false, isCanBeOpen: true },
88
{ rule: /\.(sql)$/i, lang: 'hql', executable: true, application: 'spark', runType: 'sql', ext: '.sql', scriptType: 'hive', abbr: 'sql', logo: 'fi-spark', isCanBeNew: true, label: 'Sql', isCanBeOpen: true },
99
{ rule: /\.(hql)$/i, lang: 'hql', executable: true, application: 'hive', runType: 'hql', ext: '.hql', scriptType: 'hql', abbr: 'hql', logo: 'fi-hive', isCanBeNew: true, label: 'Hive', isCanBeOpen: true },
10+
{ rule: /\.(mlsql)$/i, lang: 'hql', executable: true, application: 'mlsql', runType: 'mlsql', ext: '.mlsql', scriptType: 'mlsql', abbr: 'mlsql', logo: 'fi-spark', isCanBeNew: true, label: 'MLSQL', isCanBeOpen: true },
1011
{ rule: /\.(out)$/i, lang: 'hql', executable: true, application: 'pipeline', runType: 'pipeline', ext: '.out', scriptType: 'storage', abbr: 'stor', logo: 'fi-storage', isCanBeNew: true, label: 'Storage', isCanBeOpen: true },
1112
{ rule: /\.scala$/i, lang: 'java', executable: true, application: 'spark', runType: 'scala', ext: '.scala', scriptType: 'scala', abbr: 'scala', logo: 'fi-scala', isCanBeNew: true, label: 'Scala', isCanBeOpen: true },
1213
{ rule: /\.jdbc$/i, lang: 'hql', executable: true, application: 'jdbc', runType: 'jdbc', ext: '.jdbc', scriptType: 'jdbc', abbr: 'jdbc', logo: 'fi-jdbc', isCanBeNew: true, label: 'JDBC', isCanBeOpen: true },
@@ -48,4 +49,4 @@ export default{
4849
return !!findRole;
4950
},
5051
},
51-
};
52+
};

0 commit comments

Comments
 (0)