[Glue] Empty string is not considered a proper value #5763
Labels
@aws-cdk/aws-glue
Related to AWS Glue
bug
This issue is a bug.
good first issue
Related to contributions. See CONTRIBUTING.md
in-progress
This issue is being actively worked on.
An empty string is a Falsy js value.
It is not possible to set an empty
s3Prefix
for Glue Table https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-glue/lib/table.ts#L239This issue also does not give to have an empty location in the Glue Database https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-glue/lib/database.ts#L93
Reproduction Steps
In browser execute js:
the result is "/data"
Error Log
Environment
Other
A similar issue has already been closed once #801
There is a related issue that could be closed if there was a possibility to pass empty strings #5268
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: