varigence / BimlPit

Public Issue Tracker for all Varigence Biml products
6 stars 0 forks source link

AzureDataFactory - JsonFormat FilePattern "invalid" value for attribut #146

Open Julian-Krueger opened 4 years ago

Julian-Krueger commented 4 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report 
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead go to https://varigence.com/Forums?forumName=BimlStudio or email support@varigence.com
[ ] Other... Please describe:

Current behavior

The Bug occurs at the following location: Biml/DataFactories/Datasets/AzureBlob/JsonFormat

The suggested value for the Attribut "FilePattern" is "ArrayOfObjects". When you try to deploy the generated Dataset .json File to your Azure Data Factory, you get an inlavid Dataset. The correct Value for the Attribut "FilePattern" must be "arrayOfObjects" (case-sensitive, with a small "a")

Translated error message: Error | The "FilePattern"-Attribute is invali - The Value "arrayOfObjects" is invalid according to its data type 'http://schemas.varigence.com/biml.xsd:Varigence.Languages.Biml.DataFactory.AdfJsonFormatFilePattern

BIML Studio Perspective: image

Expected behavior

ADF Code Perspective: image

Minimal reproduction of the problem with instructions

JsonFormat_bug_reproduce.txt The above biml code reproduces the issue.

Environment


BimlStudio version: 5.0.64335.0