How to Pass Parameters from Pipelines to Notebooks in Microsoft Fabric!

  Рет қаралды 5,829

Tales From The Field

Tales From The Field

Күн бұрын

Пікірлер: 17
@DataBard255
@DataBard255 Жыл бұрын
I've been trying to get something like this working in Fabric. Thanks for a great demo!
@Tales-from-the-Field
@Tales-from-the-Field Жыл бұрын
Thank you @DataBard255!! Really glad the video was helpful!
@VivekDevalkar
@VivekDevalkar 11 ай бұрын
Can I call the parameterized notebook from another notebook too or can I just call it from a pipeline?
@Tales-from-the-Field
@Tales-from-the-Field 11 ай бұрын
Hi @VivekDevalkar per Bradley "Hi Vivek, great question! Yes this is possible. As a matter of fact this inspired my video this week. A full demo of this should be posted at 11 am EST with links to the documentation on how to do this!"
@acxhgg
@acxhgg 9 ай бұрын
Hello, thank you for this demonstration. Could it be possible to pass a type 'Array' as base parameter for our notebook ?
@Tales-from-the-Field
@Tales-from-the-Field 9 ай бұрын
Hi @acxhgg per Bradley, "I hate to start off with saying it depends, but kinda. You only have 4 data types for parameters that can be passed from Pipeliens to Notebooks (currently). Int (integer), Bool (boolean), Float, or String. You would need the data type of the parameter is string. However you could pass some type of small JSON array in text, and then have the notebook parse the string to make it an array, but it wouldn't be native. I hope this helps!"
@acxhgg
@acxhgg 9 ай бұрын
@@Tales-from-the-Field Thank you for your answer ! I tried implementing a logic that would convert data from an array to a single String variable. My current use case is to retrieve latest JSON files from a specific folder of a lakehouse, and to call a notebook with these latest files as parameter, in order to do certain actions on my JSON files. Hopefully it'll be native soon !
@RameshReddy-l2k
@RameshReddy-l2k Ай бұрын
It is very useful. Is it possible to pass dynamic parameters from Copy Data activity to Note Book Activity in the Data Pipeline
@TheSQLPro
@TheSQLPro 8 ай бұрын
Great demo!!
@Tales-from-the-Field
@Tales-from-the-Field 6 ай бұрын
Thank you @TheSQLPro!
@johncochran5852
@johncochran5852 11 ай бұрын
cool demo. Am I seeing that you didn't have to get rid of the myYear = 2013 in your notebook? Looks like you used the same variable name when passing the parameter to the activity, but you didn't get rid of the line myYear = 2013 in the notebook itself. I would think that this would override the parameter value (2015) that was passed into the activity.
@Tales-from-the-Field
@Tales-from-the-Field 11 ай бұрын
Hi @johncochran5852, per Bradley "Hi John, nice work sir! You saw that correctly. The default parameter in the Notebook, will be overriden by the parameter passed from the pipeline. If you want you could make the default a value that will always throw an error.... which would probably be a best practice... but as long as we pass a valid parameter in the pipeline this will work just fine!"
@tiste90_sg
@tiste90_sg Ай бұрын
Thanks for the demo@@Tales-from-the-Field ! In my case, I had to comment out the parameter in the Notebook as it kept prevailing over the parameter passed from the pipeline!
@KhajaMD143
@KhajaMD143 Жыл бұрын
I am trying to research if the Fabric Pipelines can be triggered from external CI/CD tools like Jenkins, Gitlab, Github Actions etc., Basically, I am looking for this solution so that the fabric projects align with all other projects that follow a CI/CD process from a central location. I would also love to see if we can create any scaffolding with IAC tools like Terraform, which then i can include into my CI/CD process.
@clvc699
@clvc699 8 ай бұрын
How can you pass parameters to where in Select statement ?
@Tales-from-the-Field
@Tales-from-the-Field 8 ай бұрын
Hi @claudiovasquezcampos9558 are you looking for this in a Spark SQL Statement in a Notebook or a T-SQL Statement as part of a data pipeline task against an Azure SQL DB, Azure SQL MI, SQL Server, or Fabric DW?
@christophehervouet3280
@christophehervouet3280 4 ай бұрын
May I ask a security/ permission question please ? I guess on Fabric notebooks, we are fully UPN SSO regarding permissions ? Permission to access Workspaces objects like Lakehouses & Power BI semantic model ( via semantic link library) fully SSO on interactive notebook sessions , but what happen on "batch" sessions , with data pipeline runs ? - Is it the notebook creator UPN (the owner) which is used on batch pipelines runs ? - What happen during Life cycle CDCD deployment pipeline ? Along side Workspaces - Do we need the notebook owner to be granted access on each environment WS ? - Sounds Microsoft works on a substitution UPN for pipelines runs Thanks a lot for any help
How to Pass Parameters from Notebooks to Pipelines in Microsoft Fabric!
8:12
Tales From The Field
Рет қаралды 1,7 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
Using Fabric notebooks (pySpark) to clean and transform real-world JSON data
17:42
Learn Microsoft Fabric with Will
Рет қаралды 7 М.
How To pass value from DataFactory to DataBricks Notebook
18:10
TheCloudBox
Рет қаралды 2,3 М.
Using Pipelines to Simplify Power Platform Deployments
16:01
Pragmatic Works
Рет қаралды 15 М.
Microsoft Fabric Notebook   What and Why
13:53
RADACAD
Рет қаралды 10 М.
Using Microsoft Fabric Workspaces (Power BI and more!)
9:51
Guy in a Cube
Рет қаралды 39 М.
SQL Server in Microsoft Fabric? Use CETaS to move data!
10:15
Guy in a Cube
Рет қаралды 27 М.
Azure Synapse Analytics - How to Parameterise Spark Notebooks
19:57
Advancing Analytics
Рет қаралды 10 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН