All Projects → rgelb → SQL-To-ElasticSearch

rgelb / SQL-To-ElasticSearch

Licence: Apache-2.0 License
SQL to ElasticSearch Query Converter

Programming Languages

C#
18002 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to SQL-To-ElasticSearch

dotnetcore-jwt-manager
A Jwt Manager in C# for .NET Core projects
Stars: ✭ 19 (-52.5%)
Mutual labels:  dot-net-core
PSXPackager
A utility to convert Playstation disc images in various formats to PBP format and back
Stars: ✭ 67 (+67.5%)
Mutual labels:  converters
ChatService
ChatService (SignalR).
Stars: ✭ 26 (-35%)
Mutual labels:  dot-net-core
houdini
Type conversion system
Stars: ✭ 34 (-15%)
Mutual labels:  converters
FsCodec
F# Event-Union Contract Encoding with versioning tolerant converters supporting System.Text.Json and Newtonsoft.Json
Stars: ✭ 74 (+85%)
Mutual labels:  converters
simple-blog-back
Back-End for Simple Blog
Stars: ✭ 36 (-10%)
Mutual labels:  dot-net-core
Simplify.Web
Moved to https://github.com/SimplifyNet. Simplify.Web is a lightweight and fast server-side .NET web-framework based on MVC and OWIN for building HTTP based web-applications, RESTful APIs etc.
Stars: ✭ 23 (-42.5%)
Mutual labels:  dot-net-core
MADE.NET
MADE.NET is a home to all of those bits of code that you know you'll reuse in another project. Making app development easier with .NET.
Stars: ✭ 75 (+87.5%)
Mutual labels:  converters
TypeConversion
C# library which provides uniform API for conversion between types.
Stars: ✭ 17 (-57.5%)
Mutual labels:  converters
FineCodeCoverage
Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
Stars: ✭ 391 (+877.5%)
Mutual labels:  dot-net-core
ContosoLending
An ASP.NET Core 3.1 app showcasing gRPC, server-side Blazor, SignalR, and C# 8.
Stars: ✭ 15 (-62.5%)
Mutual labels:  dot-net-core

SQL To ElasticSearch Query Converter

Demo website.

Build Status

This quickie app converts SQL statements into ElasticSearch equivalent queries. Note that the converter is very much a work in progress, and as such, doesn't support great many things.

What works

At the moment the application supports SELECT, FROM, WHERE, GROUP BY statements.
For SELECT, you can either place * or specify column names. The FROM statement works with either aliases or indexes.
The WHERE conditions support a subset of operators: =, >, >=, <, <=, IN, BETWEEN. The GROUP BY statement only supports column names. Columns in the GROUP BY must match those in SELECT.

Examples:

SELECT name, type, state, pin
FROM cities
WHERE name = 'Miami'
   AND state = 'FL'
   AND zipCodes IN (33126, 33151)
   AND averageAge BETWEEN 34 AND 65
   AND averageSalary >= 55230
   AND averageTemperature < 80 
SELECT *
FROM Planets
WHERE SpacecraftWithinKilometers < 10000
SELECT SolarSystem, Galaxy
FROM Planets
WHERE SpacecraftWithinKilometers < 10000
GROUP BY SolarSystem, Galaxy

What doesn't work yet

  • Inequality operator (!=)
  • Sorting
  • Joins (because ElasticSearch doesn't support them)
  • Common SQL functions like GetDate, DateDiff, Count(*), etc are not supported yet

The Plan

See the "What doesn't work yet" section

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].