We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should make it easy to create an empty Delta Lake table.
See the Create a Delta Lake table with the PySpark API example in this blog post.
Here's the syntax that PySpark uses, but we can use something else:
from pyspark.sql.types import * dt1 = ( DeltaTable.create(spark) .tableName("testTable1") .addColumn("c1", dataType="INT", nullable=False) .addColumn("c2", dataType=IntegerType(), generatedAlwaysAs="c1 + 1") .partitionedBy("c1") .execute() )
The syntax we use should be flexible enough to incorporate additional table features that are added to delta-rs.
The text was updated successfully, but these errors were encountered:
I could take a look at this in the near future
Sorry, something went wrong.
at least on the rusts side this is already possible. The syntax looks dauntingly similar to the example 😆.
create
feat(python): expose create to DeltaTable class (#1932)
20214a5
Allows one to create a table without writing. (created a new one, I keep messing up these rebases..) - closes #1892
ion-elgreco
Successfully merging a pull request may close this issue.
Description
We should make it easy to create an empty Delta Lake table.
See the Create a Delta Lake table with the PySpark API example in this blog post.
Here's the syntax that PySpark uses, but we can use something else:
The syntax we use should be flexible enough to incorporate additional table features that are added to delta-rs.
The text was updated successfully, but these errors were encountered: