Constellation Query Language misclassified as SQL because of cql extension #7682
Replies: 2 comments 4 replies
-
|
If you don’t want the file identified as SQL you can use an override to identify it as another language, including Text, or completely ignore it. You can’t use an override to select a language Linguist doesn’t know about though. |
Beta Was this translation helpful? Give feedback.
-
|
My interest was in defining cql as a Linguist language for Cassandra Query Language. I've since noticed that there's a third CQL that gets lumped into SQL because of CassandraQL being tagged as SQL by only checking the extension. My use case was the GitHub search API and I've gotten around it by explicitly searching orgs and repos for code samples that I need. I have read How Linguist Works, but still not sure if there's anything I could do to create a CQL that's specific to Cassandra Query Language, and how to prevent the two other CQL data definition and modeling languages from being classified as SQL (or Cassandra Query Language). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Searching for .cql code samples, I found a .cql extension query language called Constellation Query Language. Is language assignment strictly performed on file extension or is there a way to disqualify this other CQL from being marked as SQL language?
Beta Was this translation helpful? Give feedback.
All reactions