Skip to content
#

query-engine

Here are 79 public repositories matching this topic...

yjshen
yjshen commented Mar 25, 2022

TPC-DS has many queries with IN predicates where all elements are constants. It's a low-hanging fruit if we could implement an InSet function for this all constants value case.

While implementing this, we could either use a hashtable or a chain of if-elif-else, depending on the length and the type of the constants array.

Q8:

 WHERE substr(ca_zip, 1, 5) IN (
               '2412
enhancement good first issue help wanted
suessflorian
suessflorian commented Jan 16, 2022

Spinning up an instance;

import (
	"github.com/dolthub/go-mysql-server/auth"
	"github.com/dolthub/go-mysql-server/memory"
	"github.com/dolthub/go-mysql-server/server"
	"github.com/dolthub/go-mysql-server/sql"
	"github.com/dolthub/go-mysql-server/sql/information_schema"
)

func main() {
	engine := sqle.NewDefault(
		sql.NewDatabaseProvider(
			memory.NewDatabase(TEST_DB_MYSQL_DAT
enhancement good first issue

Improve this page

Add a description, image, and links to the query-engine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the query-engine topic, visit your repo's landing page and select "manage topics."

Learn more