skip to Main Content

error: Azure.Messaging.EventHubs: The path to an Event Hub may be specified as part of the connection string or as a separate value, but not both

At first I upgraded the package "Microsoft.Azure.Functions.Worker.Extensions.EventHubs" from version 4.3.0 to 5.1.0. and I upgraded from the deprecated Microsoft.Azure.EventHubs package to Azure.Messaging.EventHubs. Then I run the C# function that return the error: 'Azure.Messaging.EventHubs: The path to an Event Hub may…

VIEW QUESTION

Unable to use string-based methods on a string property inside an Azure storage table query lambda

While querying an Azure storage table I get an exception. Here is my query: tableClient.QueryAsync<Resource>(resource => resource.PartitionKey == projectId.ToString() && String.Equals(resource.FullName, fullName, StringComparison.InvariantCultureIgnoreCase)); resource.FullName and fullName are both of type string. But this incurs the exception... Incorrect number of arguments…

VIEW QUESTION

Azure – How to extract Sheet names from Excel file using "com.crealytics.spark.excel" in Databricks (PySpark)

I have an Excel file in the azure datalake ,I have read the excel file like the following ddff=spark.read.format("com.crealytics.spark.excel") .option("header", "true") .option("sheetName","__all__") .option("inferSchema","true") .load("abfss://[email protected]/file.xlsx") Now Iam confused how to get just the sheetnames from that Excel file,is there any direct…

VIEW QUESTION
Back To Top
Search