The following works df.filter($"createdate".between("2017-03-20", "2017-03-22"))
I would like to pass variables fromdate and todate to the filter instead of constants. Unable to get the syntax right. Please help. Thanks
The following works df.filter($"createdate".between("2017-03-20", "2017-03-22"))
I would like to pass variables fromdate and todate to the filter instead of constants. Unable to get the syntax right. Please help. Thanks