[![CircleCI](https://img.shields.io/circleci/build/github/cloudera/hue/master.svg)](https://circleci.com/gh/cloudera/hue/tree/master)
[![DockerPulls](https://img.shields.io/docker/pulls/gethue/hue.svg)](https://registry.hub.docker.com/u/gethue/hue/)
![GitHub contributors](https://img.shields.io/github/contributors-anon/cloudera/hue.svg)

# Compose

SQL Editor Toolkit for reusing:

- [Compose Editor](https://compose-editor.netlify.app/components/editor/)
- [SQL Parsers](https://compose-editor.netlify.app/components/parsers/)
- [SQL Utils](https://compose-editor.netlify.app/components/formatters/)

Quick start:

- [Standalone local demo app](/tools/examples/components/editor#use-your-local-dev-package)
- [Databricks Devloop](https://databricks.atlassian.net/wiki/spaces/UN/pages/2548138800/Hue2Redash+-+Compose+Component#Devloop)

Build

```shell
# One Time
yarn
yarn webpack-npm
yarn webpack-workers

# Live rebuild
yarn dev-webpack-npm

yarn test # Can append a filename like `sqlUdfRepository.test.ts`

yarn lint-fix
npx prettier --write js

yarn run # List all options
```

Read more in the [documentation](https://compose-editor.netlify.app/development/quickstart/).

Screenshot:

![Compose](https://github.com/databricks/hue2redash/raw/compose/docs/static/images/ace-editor-component.png)

# License

[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
