Giter Club home page Giter Club logo

simpledb-timeseries's Introduction

Timeseries Datatype and Querying within Simple DB

All functionality can be executed directly with the SQLInterprator. No driver program is required.

Supported Functionality & Example Queries

  • Create table with timeseries datatype: create table name(id int, t timeseries);
  • Insert Data: insert into name(t) values(20); where the timeseries data value is an integer.
  • Selecting Data: select id,t from name;,
  • Selecting Date while using Predicates: select id,t from name where t=20 OR select id,t from name where t='2023-03-02-20'
  • Aggregate Functions: select sum(t) from name also works with predicates like select sum(t) from name where t=20 or select sum(t) from name where t='2023-03-02-20' but will not work while selecting multiple fields ie: select id,sum(t) from name

Changes can be found at:

  • Lexer.java
  • Parser.java
  • SQLInterpretor.java
  • TableScan.java
  • Buffer.java
  • Scan.java
  • RecordFile.java
  • RecordPage.java
  • Term.java
  • Transaction.java
  • Page.java
  • TimeseriesConstant.java
  • RemoteMetaDataImpl.java
  • RemoteResultSetImpl.java

Individual Contribution

We collaborated equally on most tasks, with each team member contributing to various aspects of the project. Specifically, Lucas took the lead in implementing the querying and Aggregate Scan. On the other hand, Jacob played a crucial role in researching the correct implementation when using a Time Reference System.

The remaining programming aspects of the project were addressed together through pair programming sessions. We organized a few meetings to tackle the necessary steps for implementing the working datatype.

Known Issues

Occasionally when creating a table with multiple datatypes and a timeseries datatype where the field name is larger than 4, the table behaviours becomes unpredictable. The values get inserted correctly, but then get lost when attempting to retreive them. See image for details.

image

Notice that the id value '1' is not getting retreived properly.

simpledb-timeseries's People

Contributors

j-savoie avatar lhunter3 avatar

Stargazers

 avatar

simpledb-timeseries's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.