Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand view definition support #38

Open
GeekSheikh opened this issue Jan 7, 2021 · 0 comments
Open

Expand view definition support #38

GeekSheikh opened this issue Jan 7, 2021 · 0 comments
Labels
feature New feature or extension of existing feature (was "enhancement")

Comments

@GeekSheikh
Copy link
Contributor

The view definitions currently only accept a select statement. These views should also accept a where clause and perhaps a few other clauses.

def publish(colDefinition: String): Unit = {
val pubStatement =
s"""
|create or replace view ${config.databaseName}.${name} as select ${colDefinition}
|from ${dataSource.tableFullName}
|""".stripMargin

@GeekSheikh GeekSheikh added the feature New feature or extension of existing feature (was "enhancement") label Jan 7, 2021
@gueniai gueniai added this to the backlog milestone Apr 24, 2023
@gueniai gueniai removed this from the backlog milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or extension of existing feature (was "enhancement")
Projects
None yet
Development

No branches or pull requests

2 participants