commit | 58a8a23243f956e0bf22651767fd70bc333d0621 | [log] [tgz] |
---|---|---|
author | Gian Merlino <gianmerlino@gmail.com> | Tue Mar 26 08:16:05 2024 -0700 |
committer | GitHub <noreply@github.com> | Tue Mar 26 08:16:05 2024 -0700 |
tree | 5e24ed4c77d8e8d4bd8f37e6eb9e9fbbb2217595 | |
parent | f29c8ac3681314e537f3ae943ec9e546e34b8ad3 [diff] |
Avoid conversion to String in JsonReader, JsonNodeReader. (#15693) * Avoid conversion to String in JsonReader, JsonNodeReader. These readers were running UTF-8 decode on the provided entity to convert it to a String, then parsing the String as JSON. The patch changes them to parse the provided entity's input stream directly. In order to preserve the nice error messages that include parse errors, the readers now need to open the entity again on the error path, to re-read the data. To make this possible, the InputEntity#open contract is tightened to require the ability to re-open entities, and existing InputEntity implementations are updated to allow re-opening. This patch also renames JsonLineReaderBenchmark to JsonInputFormatBenchmark, updates it to benchmark all three JSON readers, and adds a case that reads fields out of the parsed row (not just creates it). * Fixes for static analysis. * Implement intermediateRowAsString in JsonReader. * Enhanced JsonInputFormatBenchmark. Renames JsonLineReaderBenchmark to JsonInputFormatBenchmark, and enhances it to test various readers (JsonReader, JsonLineReader, JsonNodeReader) as well as to test with/without field discovery.
Druid is a high performance real-time analytics database. Druid's main value add is to reduce time to insight and action.
Druid is designed for workflows where fast queries and ingest really matter. Druid excels at powering UIs, running operational (ad-hoc) queries, or handling high concurrency. Consider Druid as an open source alternative to data warehouses for a variety of use cases. The design documentation explains the key concepts.
You can get started with Druid with our local or Docker quickstart.
Druid provides a rich set of APIs (via HTTP and JDBC) for loading, managing, and querying your data. You can also interact with Druid via the built-in web console (shown below).
Load streaming and batch data using a point-and-click wizard to guide you through ingestion setup. Monitor one off tasks and ingestion supervisors.
Manage your cluster with ease. Get a view of your datasources, segments, ingestion tasks, and services from one convenient location. All powered by SQL systems tables, allowing you to see the underlying query for each view.
Use the built-in query workbench to prototype DruidSQL and native queries or connect one of the many tools that help you make the most out of Druid.
See the latest documentation for the documentation for the current official release. If you need information on a previous release, you can browse previous releases documentation.
Make documentation and tutorials updates in /docs
using Markdown or extended Markdown (MDX). Then, open a pull request.
To build the site locally, you need Node 16.14 or higher and to install Docusaurus 2 with npm|yarn install
in the website
directory. Then you can run npm|yarn start
to launch a local build of the docs.
If you're looking to update non-doc pages like Use Cases, those files are in the druid-website-src
repo.
Visit the official project community page to read about getting involved in contributing to Apache Druid, and how we help one another use and operate Druid.
druid-user
mailing list on Google Groups, and have more technical conversations in #troubleshooting
on Slack.druid-dev
mailing list (dev@druid.apache.org). Subscribe by emailing dev-subscribe@druid.apache.org. For live conversations, join the #dev
channel on Slack.Check out the official community page for details of how to join the community Slack channels.
Find articles written by community members and a calendar of upcoming events on the project site - contribute your own events and articles by submitting a PR in the apache/druid-website-src
repository.
Please note that JDK 8 or JDK 11 is required to build Druid.
See the latest build guide for instructions on building Apache Druid from source.
Please follow the community guidelines for contributing.
For instructions on setting up IntelliJ dev/intellij-setup.md