@Vineet S - Thanks for the question and using MS Q&A platform.
In additional to @Marcin Policht response.
It's difficult to determine which query will run faster based solely on the information provided. The performance of a query depends on various factors such as the complexity of the query, the size of the data being queried, the available resources on each node, and the distribution of the data across the nodes.
However, in general, if the query running on node1 is the only query running on that node, it may have access to more resources and therefore may run faster than the queries running on node2 and node3, which are sharing resources. On the other hand, if the query running on node1 is a more complex query than the queries running on node2 and node3, it may take longer to complete.
It's also important to note that Azure Databricks is designed to distribute workloads across nodes to optimize performance. So, if the queries are designed to take advantage of the distributed architecture, they may both run faster than if they were running on a single node.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.