question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unable to use any sql parser as separate npm package

See original GitHub issue

Is the issue already present in https://github.com/cloudera/hue/issues or discussed in the forum https://discourse.gethue.com? No

Describe the bug: I tried to use calcite sql parser from gethue npm package.

Steps to reproduce it? clone hue_dep example remove “hue” dependency run npm install gethue modify import statement in app.js to

import sqlAutocompleteParser from 'gethue/parse/sql/hive/hiveAutocompleteParser';

run the following command npm run webpack

Actual behaviour: throwing error

Expected behaviour: should compile successfully

Hue version or source? (e.g. open source 4.5, CDH 5.16, CDP 1.0…). System info (e.g. OS, Browser…).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
smaspecommented, Jan 7, 2021

I’ve been using

import sqlAutocompleteParser from 'gethue/parsers/genericAutocompleteParser.js';

successfully so far (same for the hive parser, I assume)

0reactions
github-actions[bot]commented, Mar 7, 2021

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-sql-parser - npm
Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList, columnList and convert it back to SQL. ⭐ Features....
Read more >
node-sql-parser - npm Package Health Analysis - Snyk
The npm package node-sql-parser was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as...
Read more >
npm install error - unable to get local issuer certificate
If any module in your package.json is hosted on a server with self-signed CA certificate then npm is unable to identify that server...
Read more >
@salvoravida/dt-sql-parser - NPM Package Overview - Socket
Start using Socket to analyze @salvoravida/dt-sql-parser and its 2 ... Besides, it provides some helper methods, like split SQL, ...
Read more >
Language Server Extension Guide - Visual Studio Code
The LSP npm modules also use this approach. See here for some unit test written using the npm protocol module. End-to-End Test: This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found