Find Jobs
Hire Freelancers

implementing a query evaluator -- 2

$10-30 USD

In Progress
Posted about 8 years ago

$10-30 USD

Paid on delivery
implementing a query evaluator - given a table Schema and CSV File with the instance in it - Use JSQLParser to parse given query file - convert the given parsed query to relational algebra tree Queries Your code is expected to support both aggregate and non-aggregate queries with the following features.  Keep in mind that this is only a minimum requirement. * Non-Aggregate Queries * SelectItems may include: * SelectExpressionItem: Any expression that Eval can evaluate.  Note that Column expressions may or may not include an appropriate source.  Where relevant, column aliases will be given, unless the SelectExpressionItem's expression is a Column (in which case the Column's name attribute should be used as an alias) * AllTableColumns: For any aliased term in the from clause * AllColumns: If present, this will be the only SelectItem in a given PlainSelect. * Aggregate Queries * SelectItems may include: * SelectExpressionItems where the Expression is one of: * A Function with the (case-insensitive) name: SUM, COUNT, AVG, MIN or MAX.  The Function's argument(s) may be any expression(s) that can be evaluated by Eval. * A Single Column that also occurs in the GroupBy list. * AllTableColumns: If all of the table's columns also occur in the GroupBy list * AllColumns: If all of the source's columns also occur in the GroupBy list. * GroupBy column references are all Columns. * Both Types of Queries * From/Joins may include: * Join: All joins will be simple joins * Table: Tables may or may not be aliased.  Non-Aliased tables should be treated as being aliased to the table's name. * SubSelect: SubSelects may be aggregate or non-aggregate queries, as here. * The Where/Having clauses may include: * Any expression that Eval will evaluate to an instance of BooleanValue * Allowable Select Options include * SELECT DISTINCT (but not SELECT DISTINCT ON) * UNION ALL (but not UNION) * Order By: The OrderByItem expressions may include any expression that can be evaluated by Eval.  Columns in the OrderByItem expressions will refer only to aliases defined in the SelectItems (i.e., the output schema of the query's projection.  See TPC-H Benchmark Query 5 for an example of this) * Limit: RowCount limits (e.g., LIMIT 5), but not Offset limits (e.g., LIMIT 5 OFFSET 10) or JDBC parameter limits. Output Your code is expected output query results in the same format as the input data: * One output row per ('\n'-delimited) line.  If there is no ORDER BY clause, you may emit the rows in any order. * One output value per ('|'-delimited) field.  Columns should appear in the same order that they appear in the query.  Table Wildcards should be resolved in the same order that the columns appear in the CREATE TABLE statement.  Global Wildcards should be resolved as Table Wildcards with the tables in the same order that they appear in the FROM clause. * A trailing newline as the last character of the file. * You should not output any header information or other formatting.
Project ID: 9824416

About the project

2 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello. How are u. I saw your description. I understood it and can do it well. I have done several project like this. I'm an expert in Data Structures and Algorithms. And I know Java ,C/C++,C# and Python well. I'm interested this project. I want to discuss with you about this project. If it's possible,please contact me and explain more detail. I wait your good reply. Bye.
$50 USD in 2 days
5.0 (5 reviews)
3.2
3.2
2 freelancers are bidding on average $38 USD for this job
User Avatar
Dear Madam/Sir, I am writing in response to your job notification for the position of Java Developer. I am working as a Java developer for Software Firm for the last 3 years and happy to mention some of my achievements in this role: - Designed and developed a conversion plan for 100+ Uniface modules into equivalent Java/J2EE. - Managed a project team developing a Java/MySQL based web application/Window Application - Converted a user based web application to a Java/J2EE application for better performance. I’m well versed with: - Designing database architecture and server scripting - Studying and establishing connectivity with network systems, search engines, and information servers. - Developing knowledge and understanding of the technical environment including program compilation, file structures and program interfaces in the Java EE environment. I have a full understanding of Designing and development of Java Technology . Expertise in JSP/Servlet/Collection/JDBC , Framework - Spring/Hibernate, API -iText/POI/iPerf, Database(Oracle/MySQL/PostgreSQL/MongoDB), Should you need any more details, please do let me know. Thanking you for your time and looking forward to hear from you. Add me on skype – vivek0482. Regards Vivek
$15 USD in 15 days
4.2 (2 reviews)
1.8
1.8

About the client

Flag of UNITED STATES
Baltimore, United States
5.0
7
Payment method verified
Member since Apr 24, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.