I have a requirement where I am supposed to query a Vertica DB Cluster to fetch some data.
Is there a way in which I can dynamically query the current active node without hard-coding the hostnames of the nodes in the cluster?
Can I find the current active node using a command or is it available in any variable?
Or is there a workaround logic that you can suggest?