Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datasys-engine-team1

How to Build Data Systems – Fall 2026. Team 1 query engine.

Requires JDK 25 or newer and Maven. Run mvn -B verify for unit and integration tests, or mvn compile exec:java to parse and pretty-print the four Exercise 3 SQL statements. The SQL front end parses and binds statements but does not execute them yet.

The storage API lives in dk.itu.datasys. For persistent use, construct new StorageEngine(Path.of("data")), create a table with ordered ColumnSpec values, then call copyFile with a headerless ASCII CSV. The optional second constructor argument sets the maximum partition size (default: 8). select accepts exact String, Long, or Double constants and returns rows in input order. getLastScanStats() reports the latest successful scan.

Use one writer engine per directory; reopen the engine to reload catalogs written by another instance. Part 1 supports one successful copy per table. I/O failures are surfaced as UncheckedIOException; invalid API arguments and malformed CSV rows use IllegalArgumentException. Generated state belongs under the Git-ignored data/ directory. The format and publication rules are specified in the storage design.

About

Building very cool, small DBMS

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages