为什么即使存在csv文件,也会出现FileNotFoundException?

问题描述

导入csv后,我尝试将文件读取为两个数组。但是,尽管我确定文件存在,但是却遇到了FileNotFoundException。有什么想法吗?

https://repl.it/repls/VapidFrighteningMention#Main.java

'''

SELECT
   t1.created_year as year_2013,t2.created_year as year_2014,t1.created_month as month_of_year,t1.number_of_registration_2013,t2.number_of_registration_2014,(t2.number_of_registration_2014 - t1.number_of_registration_2013) / t1.number_of_registration_2013 * 100 as percent_change_in_prevIoUs_year_month
FROM  
    (select 
         extract(year from created_at) as created_year,extract(month from created_at) as created_month,count(*) as number_of_registration_2013
    from users
    where extract(year from created_at) = '2013'
    group by 1,2)  t1
inner join 
    (select 
         extract(year from created_at) as created_year,count(*) as number_of_registration_2014
    from users
    where extract(year from created_at) = '2014'
    group by 1,2)  t2
on t1.created_month = t2.created_month

'''

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)