Azure-Player / azure.datafactory.tools

Tools for deploying Data Factory (v2) in Microsoft Azure
https://azureplayer.net/adftools
MIT License
209 stars 69 forks source link

##[error]ADFT0029: Unknown object type: BigDataPool. #289

Closed LiquoriChris closed 1 year ago

LiquoriChris commented 1 year ago

Hello Kamil,

Thank for you adding the new notebook activity type. However, we are receiving an additional error when deploying the new notebook activity. This is for when using a bigDataPool in synapse (Dedicated SQL Pool).

Error: ##[error]ADFT0029: Unknown object type: BigDataPool.

Thanks.

NowinskiK commented 1 year ago

Can you attach json file representation of the pipeline that contains this notebook activity?

ghost commented 1 year ago

Hey @NowinskiK! So this is related to the "sparkPool" key present in the "typeProperties" of the Synapse notebook activity. It looks like the construction of the Synapse activity in JSON doesn't follow the exact layout of other activities in ADF.

I attached a redacted Synapse activity,synapseActivity.txt, from one of our pipelines. You'll see the "sparkPool" key, specifically, starts 116:

"sparkPool": { "referenceName": {"value": "DataSynsp", "type": "Expression"}, "type": "BigDataPoolReference"}

NowinskiK commented 1 year ago

Released in ver.1.3

LiquoriChris commented 1 year ago

Working.... Thanks @NowinskiK