Define the extended upper half plane $$\overline{\mathbb{H}}:=\{z\in\mathbb{C}: \mathrm{Im}(z)>0\} \cup \mathbb{Q} \cup \{i\infty\}.$$ To what extent can an arbitrary function on the rationals $f:\mathbb{Q}\to\mathbb{C}$ be analytically continued to $\overline{\mathbb{H}}$? Do there exist nice/interesting examples $f:\mathbb{Q}\to\mathbb{C}$ with nice/interesting extensions $\overline{f}:\overline{\mathbb{H}}\to\mathbb{C}$? I am particularly interested in functions $f:\mathbb{Q}\to\mathbb{N}$ with combinatorial significance.
Edit: The kinds of functions $f:\mathbb{Q}\to\mathbb{N}$ I have in mind would certainly not have a nice extension to the real line. But hopefully they could still be extended to $\overline{\mathbb{H}}$.