Skip to content

[FEATURE]: If a code computes a value dynamically, do value inference, at least at the state of linting #1205

@nfx

Description

@nfx

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

If arguments to the relevant functions are string literals, resolve them and perform linting:

e.g. in cases like:

db = 'foo'
t = f'{db}.bar'
display(spark.table(t))

we have to check if foo.bar table is migrated.

Proposed Solution

infer values from the available scope.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

migrate/codeAbstract Syntax Trees and other dark magic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions