Articles & News
Category:

09 March 2021

Process & Learnings when upgrading the Webserver Stack - Django Upgrade (1.11 to 3.1)

The Hue project was started around 10 years back. In the meantime some of our technologies were getting old or deprecated, hence we need to upgrade them for the bright future of HUE. So In this, the Django upgrade was one of the most important ones. We were using Django 1.11 before this upgrade, for which extended support was ended in April 2020. Goal Hue running with Django 3.1 (latest) while still being able to compile/run with 1.…

4 minutes read - Version 4.10 / Dev / API

04 March 2021

Introducing Vue 3 & Web Components in Hue Query Editor

The Hue project has a longevity of more than 10 years. Over these years some of the technologies we use have become rather old fashioned. So while discussing the improvements to be made in Hue, upgrading UI technology was among the top. Hue uses a combination of Mako and Knockout JS libraries to create all the UI magic. As newer libraries bring more productivity at this point, we decided to start a hunt for the latest best.…

8 minutes read - Version 4.10 / Dev / API

14 September 2020

REST API for sending SQL queries and Browsing files

Hi Data App Builders, Are you looking at executing some SQL queries of Browsing S3 files programatically? (so that it can be automated for example) The Hue development flow continues to mature (Docker Quick Start, improved CI, shareable Web Components…) and is now getting more help on how to reuse its API. Concept The REST API is not properly public yet and can (will) be simplified in the current work in progress HUE-1450.…

7 minutes read - Version 4 / Dev / API

15 August 2020

Automatically checking the Python style and title format of Git commits

Hi Query Engineers, The investment in Continuous Integration (CI) and automation continues in order to help scale the resource and quality of the Hue project. This past year saw a lot of improvements with: An integrated commit flow automatically run by Circle CI gethue.com and demo.gethue.com websites link checking JavaScript styling and artifacts licensing check Here is the latest about how to automatically check that the coding convention of the Python API is followed by everybody as well as the format of the git commit titles.…

4 minutes read - Version 4 / Dev / API

23 June 2020

Monitoring Hue activity with Grafana Dashboards

Besides Hue Active Users Metric Improvements, we’ve also added a new Prometheus metrics number of queries, which shows how many queries were executed in the last ten minutes. Now both of them are available in Hue’s Grafana dashboard. Let’s go to the Grafana dashboard list, you will find Hue’s Home dashboard in the Hue folder. After opening the Home dashboard, you will see four panels which list CPU, memory, active users, and number of queries.…

1 minute read - Version 4 / Dev / API

22 June 2020

Automated checks for JavaScript modules compatible licenses and non absolute paths with Continuous Integration

Hi Interface Builders, The investment in Continuous Integration (CI) and automation continues in order to help scale the resource and quality of the Hue project. This past year saw a lot of improvements with an integrated commit flow and adding series of link checking automatically run by Circle CI. Here is the latest about how to automatically check that JavaScript artifacts have the correct licensing and do not contain absolute paths.…

2 minutes read - Version 4 / Dev / API

27 February 2020

Re-using the JavaScript SQL Parser

SQL autocompletion The parser is running on the client side and comes with just a few megabytes of JavaScript that are then cached by the browser. This provides a very reactive & rich experience to the end users and allows to import it as a module dependency. While the dynamic content like the list of tables, columns.. is obviously fetched via remote endpoints, all the SQL knowledge of the statements is available.…

3 minutes read - Version 4 / Dev / API

19 July 2019

BYOA – Build Your Own Autocompleter

Hue is a SQL Editor integrating with the most common data warehouses and databases. Getting specialized autocomplete for each language brings better code maintainability (force a decoupled design), speed (no need to load all the parsers for only one language) and obviously a nicer end user experience (Impala, Hive, PostgreSQL… always have slight different syntax). In Hue we use generated parsers to handle autocomplete and syntax checking in the editors. In this post we’ll guide you through the steps necessary to create an autocompleter for any SQL dialect in Hue.…

8 minutes read - Version 4 / Dev / API

22 July 2016

Login into Hue using the Python Request library

In this little snippet we will show you how to login into HUE using python requests library. Hue is based on the Django Web Framework. Django comes with user authentication system. Django uses sessions and middleware to hook the authentication system into request object. HUE uses stock auth form which uses “username” and “password” and “csrftoken” form variables to authenticate. In this code snippet, we will use well-known python “requests” library.…

2 minutes read - Dev / API

19 July 2016

Change your maps look and feel

Did you know that you can change the look and feel of your Hue maps just by specifying two extra variables on the Hue configuration? Here above the default style of Hue's maps; we use the open source library Leaflet to draw them. They also did a great job putting together a list of map providers that can be used in Hue as well: https://leaflet-extras.github.io/leaflet-providers/preview/</a>. Let's display the Esri.…

1 minute read - Dev / API

More recent stories

09 April 2021
Collaborate on your SQL queries and results directly within Slack!
Read More
05 April 2021
Interactively Querying HBase via SQL - Tech Talk
Read More
09 March 2021
Process & Learnings when upgrading the Webserver Stack - Django Upgrade (1.11 to 3.1)
Read More