ArnavBalyan commented on code in PR #11725:
URL: https://github.com/apache/pinot/pull/11725#discussion_r1344039590
##########
pinot-controller/src/main/resources/app/pages/Query.tsx:
##########
@@ -47,6 +47,7 @@ import PinotMethodUtils from '../utils/PinotMethodUtils';
import '../styles/styles.css';
import {Resizable} from "re-resizable";
import { useHistory, useLocation } from 'react-router';
+import sqlFormatter from '@sqltools/formatter';
Review Comment:
Hi @ankitsultana the sql-formatter is currently in [maintenance
mode](https://github.com/sql-formatter-org/sql-formatter#the-future), no new
features are being added. Also it's
[incompatible](https://github.com/sql-formatter-org/sql-formatter#module-parse-failed-unexpected-token)
with the babel configuration we are using. The above `sqltools/formatter`
actively get's maintained and has very close parity to sql-formatter. It has
new updates as well. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]