Thanks for pointing out this lua limitation. I am trying to process 8 byte integers using UDFs. But it seems it would not be possible with this lua limitation.
Also, I tried using the standard luajit bitops library as suggested in this post. Even this seems to limit integers to 32 bits. I am not able to process the higher order 32 bits.