如何解决为什么即使存在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 举报,一经查实,本站将立刻删除。