fix[SQL]: first generated dataset.
This commit is contained in:
parent
62c49d1cb5
commit
37d0c430c7
944
PostgreSQL/.data/dates.csv
Normal file
944
PostgreSQL/.data/dates.csv
Normal file
@ -0,0 +1,944 @@
|
||||
date
|
||||
01-15-2011
|
||||
01-02-1973
|
||||
06-02-2004
|
||||
08-01-2022
|
||||
01-11-2008
|
||||
01-10-1983
|
||||
09-06-2016
|
||||
09-01-2012
|
||||
01-15-1970
|
||||
09-14-1979
|
||||
12-15-1991
|
||||
05-20-1971
|
||||
08-10-1986
|
||||
12-07-2007
|
||||
05-09-2020
|
||||
05-12-2012
|
||||
10-03-2000
|
||||
04-14-1986
|
||||
09-04-1997
|
||||
10-17-1985
|
||||
07-31-1971
|
||||
09-09-1976
|
||||
06-17-1971
|
||||
06-01-1976
|
||||
08-31-2018
|
||||
12-26-1972
|
||||
08-14-1983
|
||||
04-11-1970
|
||||
07-12-2016
|
||||
06-02-2023
|
||||
03-27-2020
|
||||
05-16-1997
|
||||
11-18-1976
|
||||
03-03-1976
|
||||
03-03-1975
|
||||
12-20-1996
|
||||
03-05-1980
|
||||
11-14-2018
|
||||
12-03-2006
|
||||
05-08-2018
|
||||
12-15-2009
|
||||
06-21-1975
|
||||
03-15-1996
|
||||
08-22-2023
|
||||
12-29-1997
|
||||
11-18-1975
|
||||
06-01-2012
|
||||
05-09-2020
|
||||
06-21-1987
|
||||
08-18-1985
|
||||
06-11-2014
|
||||
05-29-1991
|
||||
03-17-2002
|
||||
11-10-2021
|
||||
04-21-1976
|
||||
06-28-1975
|
||||
06-11-1984
|
||||
03-22-2016
|
||||
04-30-2016
|
||||
05-06-2001
|
||||
10-08-1970
|
||||
06-21-1970
|
||||
09-12-1999
|
||||
06-24-2011
|
||||
04-07-1974
|
||||
08-22-1982
|
||||
04-17-1975
|
||||
10-16-2010
|
||||
02-11-1988
|
||||
05-12-2006
|
||||
09-11-2006
|
||||
04-01-1983
|
||||
03-19-2018
|
||||
06-13-1986
|
||||
10-25-2020
|
||||
12-17-2012
|
||||
06-10-2004
|
||||
04-18-2018
|
||||
01-29-2006
|
||||
07-10-1980
|
||||
02-27-1985
|
||||
08-06-1992
|
||||
12-12-1993
|
||||
06-06-1977
|
||||
06-07-1979
|
||||
08-29-2018
|
||||
01-15-2021
|
||||
06-07-2008
|
||||
03-12-2013
|
||||
04-22-1992
|
||||
08-13-2009
|
||||
11-11-1969
|
||||
03-04-1978
|
||||
03-06-2023
|
||||
06-01-2014
|
||||
03-02-1998
|
||||
11-26-1975
|
||||
05-14-1972
|
||||
02-29-1996
|
||||
04-06-2006
|
||||
09-27-1979
|
||||
09-22-2022
|
||||
06-15-1985
|
||||
09-14-1987
|
||||
01-19-2024
|
||||
08-12-1986
|
||||
06-01-1983
|
||||
03-06-2018
|
||||
06-09-2015
|
||||
02-14-2007
|
||||
04-30-2024
|
||||
03-03-1987
|
||||
12-02-1976
|
||||
02-28-1990
|
||||
10-16-1983
|
||||
10-17-1988
|
||||
07-29-2019
|
||||
10-21-1990
|
||||
06-29-1999
|
||||
12-11-1995
|
||||
07-31-2015
|
||||
10-18-2023
|
||||
01-21-1974
|
||||
09-04-1973
|
||||
12-27-2017
|
||||
09-21-1985
|
||||
07-16-1990
|
||||
03-09-1971
|
||||
02-19-1978
|
||||
11-19-1974
|
||||
09-27-1976
|
||||
12-13-1996
|
||||
06-16-1998
|
||||
12-24-1993
|
||||
04-02-1984
|
||||
01-25-1970
|
||||
06-07-2013
|
||||
07-05-2015
|
||||
04-02-2014
|
||||
09-20-1999
|
||||
12-23-1972
|
||||
04-11-1982
|
||||
06-29-1979
|
||||
04-03-1976
|
||||
10-18-1988
|
||||
01-31-2021
|
||||
04-04-1997
|
||||
01-15-2001
|
||||
02-25-1987
|
||||
06-05-2005
|
||||
06-17-1983
|
||||
01-31-1987
|
||||
08-03-1981
|
||||
12-08-2013
|
||||
11-23-2002
|
||||
03-23-1999
|
||||
02-08-1971
|
||||
12-29-1998
|
||||
10-15-1983
|
||||
04-06-2006
|
||||
02-28-1984
|
||||
06-06-2000
|
||||
05-18-2007
|
||||
09-05-2023
|
||||
03-18-2016
|
||||
03-02-1999
|
||||
04-26-1984
|
||||
10-09-1995
|
||||
08-16-2004
|
||||
08-08-2020
|
||||
10-19-2001
|
||||
04-13-1987
|
||||
01-19-2012
|
||||
09-29-2019
|
||||
08-10-2000
|
||||
04-06-2011
|
||||
05-22-2010
|
||||
11-04-1988
|
||||
04-02-2015
|
||||
04-05-2010
|
||||
10-05-1982
|
||||
12-30-1976
|
||||
05-27-1980
|
||||
08-15-1976
|
||||
01-05-1975
|
||||
01-02-1994
|
||||
09-23-2024
|
||||
11-12-2020
|
||||
11-22-2020
|
||||
08-27-1979
|
||||
12-29-1991
|
||||
08-20-2004
|
||||
03-04-1988
|
||||
02-25-2023
|
||||
10-31-1984
|
||||
05-05-2017
|
||||
12-22-2022
|
||||
07-31-1983
|
||||
11-30-1991
|
||||
04-08-1979
|
||||
02-14-2008
|
||||
07-27-2018
|
||||
07-22-1989
|
||||
06-17-1998
|
||||
09-28-1983
|
||||
02-01-2023
|
||||
06-11-1972
|
||||
02-28-1977
|
||||
05-07-2013
|
||||
06-25-1990
|
||||
11-13-1994
|
||||
12-28-1978
|
||||
11-13-1992
|
||||
03-23-2006
|
||||
10-12-1984
|
||||
09-09-1986
|
||||
12-14-2009
|
||||
11-09-2024
|
||||
04-30-1973
|
||||
06-14-1997
|
||||
03-14-2011
|
||||
09-13-2016
|
||||
10-27-1999
|
||||
10-20-1991
|
||||
10-09-1978
|
||||
07-30-1992
|
||||
08-28-1992
|
||||
03-07-2017
|
||||
05-14-2008
|
||||
02-21-1974
|
||||
03-15-2007
|
||||
12-13-2019
|
||||
11-09-1997
|
||||
12-11-1992
|
||||
08-16-1993
|
||||
11-20-1982
|
||||
01-20-2016
|
||||
04-29-2003
|
||||
07-14-1974
|
||||
04-01-1986
|
||||
03-12-1992
|
||||
06-14-2017
|
||||
04-22-2007
|
||||
01-28-2011
|
||||
08-19-1977
|
||||
04-23-2020
|
||||
05-31-1973
|
||||
08-17-1978
|
||||
04-26-1972
|
||||
12-02-2000
|
||||
11-29-1974
|
||||
01-30-1972
|
||||
02-11-2006
|
||||
11-05-2006
|
||||
10-02-2016
|
||||
05-04-1998
|
||||
12-20-2023
|
||||
05-09-2024
|
||||
06-12-1986
|
||||
03-17-1988
|
||||
02-02-2021
|
||||
01-25-1977
|
||||
09-11-1970
|
||||
09-25-1998
|
||||
09-19-1986
|
||||
11-01-1980
|
||||
03-25-1988
|
||||
08-01-1974
|
||||
10-10-1991
|
||||
07-09-1978
|
||||
04-01-1970
|
||||
07-07-1987
|
||||
03-23-1983
|
||||
07-04-2001
|
||||
09-08-1985
|
||||
02-22-1994
|
||||
01-25-2016
|
||||
01-09-2005
|
||||
09-13-2015
|
||||
01-30-2009
|
||||
08-17-1995
|
||||
02-14-1987
|
||||
04-19-2010
|
||||
09-11-1972
|
||||
12-13-1986
|
||||
02-28-2001
|
||||
01-02-2001
|
||||
06-25-1976
|
||||
03-09-1998
|
||||
10-08-2008
|
||||
03-28-1981
|
||||
07-21-1991
|
||||
02-03-2022
|
||||
01-25-1995
|
||||
11-02-2007
|
||||
02-20-1987
|
||||
08-05-1992
|
||||
10-22-2014
|
||||
02-23-1996
|
||||
11-07-2020
|
||||
12-28-1976
|
||||
04-11-2003
|
||||
12-07-1984
|
||||
01-11-1976
|
||||
04-23-1991
|
||||
04-19-1989
|
||||
09-16-1998
|
||||
09-11-1998
|
||||
06-04-1982
|
||||
09-09-1989
|
||||
01-09-1983
|
||||
03-25-1981
|
||||
11-03-2005
|
||||
02-06-1970
|
||||
10-13-2011
|
||||
11-04-1975
|
||||
03-12-2004
|
||||
03-09-1996
|
||||
05-10-1998
|
||||
08-16-1991
|
||||
07-27-1991
|
||||
05-09-1984
|
||||
11-20-1989
|
||||
12-23-1981
|
||||
07-20-1984
|
||||
11-24-1976
|
||||
08-18-2010
|
||||
02-03-1991
|
||||
06-13-1991
|
||||
11-27-1978
|
||||
10-23-2023
|
||||
06-06-1991
|
||||
11-25-2012
|
||||
02-28-1992
|
||||
02-02-1979
|
||||
07-27-1974
|
||||
05-10-1990
|
||||
05-14-2000
|
||||
07-15-1988
|
||||
12-25-1982
|
||||
06-28-2000
|
||||
09-11-1983
|
||||
07-28-1978
|
||||
04-23-2016
|
||||
11-27-2018
|
||||
06-22-2002
|
||||
08-27-2004
|
||||
02-06-1985
|
||||
07-23-2012
|
||||
10-25-1970
|
||||
10-16-2016
|
||||
06-15-1992
|
||||
04-27-2024
|
||||
11-28-1972
|
||||
08-27-1970
|
||||
03-19-2013
|
||||
08-31-1988
|
||||
08-07-1997
|
||||
03-24-1984
|
||||
11-10-1969
|
||||
03-04-1989
|
||||
04-23-2009
|
||||
02-16-2020
|
||||
12-18-1984
|
||||
08-25-1988
|
||||
02-08-1993
|
||||
08-19-1989
|
||||
09-02-1996
|
||||
01-21-2020
|
||||
01-27-1975
|
||||
12-08-1973
|
||||
02-22-1977
|
||||
04-28-2006
|
||||
11-24-2008
|
||||
03-23-1971
|
||||
09-26-2014
|
||||
07-17-2019
|
||||
05-09-2000
|
||||
07-10-2008
|
||||
08-27-1983
|
||||
09-20-1972
|
||||
12-09-1993
|
||||
03-26-2004
|
||||
06-13-1979
|
||||
06-02-1977
|
||||
03-20-2024
|
||||
06-29-2000
|
||||
09-19-1995
|
||||
10-06-2020
|
||||
04-18-1997
|
||||
11-16-1997
|
||||
10-28-1999
|
||||
07-20-2006
|
||||
01-20-2017
|
||||
12-27-2016
|
||||
07-05-2004
|
||||
05-19-2013
|
||||
12-03-1976
|
||||
06-21-2012
|
||||
06-23-2019
|
||||
01-14-2019
|
||||
09-21-2002
|
||||
03-13-2004
|
||||
07-28-1970
|
||||
06-24-1989
|
||||
11-21-2018
|
||||
11-06-2023
|
||||
04-21-1994
|
||||
10-12-2001
|
||||
07-24-2005
|
||||
10-01-1984
|
||||
10-17-1969
|
||||
04-02-1994
|
||||
10-19-2013
|
||||
02-12-2003
|
||||
01-16-2015
|
||||
10-03-2000
|
||||
06-15-1990
|
||||
02-01-2013
|
||||
09-15-1974
|
||||
02-27-2015
|
||||
08-11-2021
|
||||
01-17-1987
|
||||
09-02-2004
|
||||
02-15-1988
|
||||
01-24-1991
|
||||
10-17-2022
|
||||
12-19-2012
|
||||
09-01-2006
|
||||
06-04-1979
|
||||
01-21-1989
|
||||
11-14-1991
|
||||
09-03-2008
|
||||
07-13-2020
|
||||
07-22-2018
|
||||
05-06-1970
|
||||
03-21-1976
|
||||
04-25-1992
|
||||
06-15-2003
|
||||
08-31-2015
|
||||
07-19-1977
|
||||
10-30-2003
|
||||
06-10-2013
|
||||
10-05-2015
|
||||
09-23-2000
|
||||
12-27-1992
|
||||
11-18-1981
|
||||
07-10-1989
|
||||
09-19-2015
|
||||
12-31-1978
|
||||
07-20-2001
|
||||
10-16-1992
|
||||
02-23-1988
|
||||
03-10-2016
|
||||
11-15-1969
|
||||
07-16-2013
|
||||
09-12-1989
|
||||
09-06-1983
|
||||
05-13-1979
|
||||
11-14-1993
|
||||
04-15-1991
|
||||
02-22-1992
|
||||
09-19-2013
|
||||
09-15-1994
|
||||
08-18-1993
|
||||
09-11-1998
|
||||
03-02-2016
|
||||
07-18-2012
|
||||
01-25-2005
|
||||
06-14-1983
|
||||
11-03-1992
|
||||
11-27-1978
|
||||
08-13-1999
|
||||
03-21-1987
|
||||
06-12-2014
|
||||
07-19-1987
|
||||
03-15-2021
|
||||
10-27-1992
|
||||
12-11-1990
|
||||
12-04-2017
|
||||
07-29-1979
|
||||
10-24-1979
|
||||
09-05-1984
|
||||
03-08-2000
|
||||
11-01-1993
|
||||
05-22-2002
|
||||
11-19-1985
|
||||
01-29-2004
|
||||
05-02-2008
|
||||
03-20-1980
|
||||
05-10-1990
|
||||
10-26-1995
|
||||
01-21-2011
|
||||
03-07-1975
|
||||
07-13-2000
|
||||
12-05-1986
|
||||
06-12-1982
|
||||
09-21-1980
|
||||
08-06-2010
|
||||
07-30-1974
|
||||
12-14-1980
|
||||
03-22-1995
|
||||
04-15-1972
|
||||
05-09-1988
|
||||
08-25-2007
|
||||
01-18-1990
|
||||
11-14-1999
|
||||
01-17-1980
|
||||
07-24-1976
|
||||
07-08-1982
|
||||
05-14-1985
|
||||
10-10-2018
|
||||
03-03-1984
|
||||
12-08-1989
|
||||
09-19-2020
|
||||
07-06-1982
|
||||
06-25-2015
|
||||
01-25-2001
|
||||
03-07-1988
|
||||
11-17-1987
|
||||
10-29-1991
|
||||
03-31-2020
|
||||
11-08-2001
|
||||
04-25-2002
|
||||
12-26-1992
|
||||
01-28-2019
|
||||
07-03-1972
|
||||
01-04-2024
|
||||
02-07-2009
|
||||
09-28-2010
|
||||
08-04-2015
|
||||
06-18-2016
|
||||
11-23-2018
|
||||
05-26-2004
|
||||
10-14-2001
|
||||
08-10-1997
|
||||
01-16-1970
|
||||
10-19-2007
|
||||
10-14-2005
|
||||
05-14-2009
|
||||
09-22-2010
|
||||
05-11-1985
|
||||
11-21-1995
|
||||
09-21-2020
|
||||
07-03-1991
|
||||
01-11-1985
|
||||
02-06-1993
|
||||
09-03-2007
|
||||
05-19-1973
|
||||
04-02-1973
|
||||
07-18-2021
|
||||
05-06-1970
|
||||
06-30-1980
|
||||
12-26-1991
|
||||
05-20-1995
|
||||
05-12-1998
|
||||
03-02-1970
|
||||
09-03-2002
|
||||
08-19-1987
|
||||
01-03-2004
|
||||
09-30-2005
|
||||
12-30-1985
|
||||
12-20-1992
|
||||
04-04-2008
|
||||
01-08-1986
|
||||
01-28-2011
|
||||
10-10-2010
|
||||
12-21-2003
|
||||
04-02-2004
|
||||
07-07-1994
|
||||
07-05-1984
|
||||
10-08-1995
|
||||
11-27-1979
|
||||
10-31-2020
|
||||
03-01-2004
|
||||
06-27-1972
|
||||
08-15-1975
|
||||
01-10-1996
|
||||
12-08-2012
|
||||
01-14-2018
|
||||
10-09-1982
|
||||
03-19-1996
|
||||
01-20-1994
|
||||
09-17-1990
|
||||
12-16-1971
|
||||
08-25-1984
|
||||
08-18-2020
|
||||
02-04-1987
|
||||
05-11-1975
|
||||
05-14-1970
|
||||
12-02-1994
|
||||
10-11-1999
|
||||
04-29-2013
|
||||
08-09-2006
|
||||
12-06-2023
|
||||
07-20-2007
|
||||
06-21-1987
|
||||
10-22-1985
|
||||
05-27-1980
|
||||
01-15-2000
|
||||
08-04-2010
|
||||
03-08-2008
|
||||
11-14-1974
|
||||
04-06-1995
|
||||
09-30-2006
|
||||
12-10-1974
|
||||
10-21-2008
|
||||
01-24-1981
|
||||
09-17-1975
|
||||
10-15-2009
|
||||
07-01-2019
|
||||
01-11-1990
|
||||
11-03-2005
|
||||
06-27-2000
|
||||
01-14-2015
|
||||
09-11-2024
|
||||
04-30-1997
|
||||
10-07-2015
|
||||
04-01-1976
|
||||
12-08-1990
|
||||
01-14-2019
|
||||
12-27-1997
|
||||
07-12-1981
|
||||
05-25-2005
|
||||
04-03-1985
|
||||
09-30-1992
|
||||
04-17-1983
|
||||
01-17-2003
|
||||
09-29-2017
|
||||
06-02-1975
|
||||
01-19-2006
|
||||
07-07-1990
|
||||
01-30-1972
|
||||
11-07-1995
|
||||
02-07-1994
|
||||
09-28-2023
|
||||
01-24-1980
|
||||
03-19-1987
|
||||
09-08-2013
|
||||
11-05-2013
|
||||
05-20-2014
|
||||
01-16-2018
|
||||
03-25-2012
|
||||
08-27-1972
|
||||
05-17-1976
|
||||
05-20-2009
|
||||
04-30-2014
|
||||
08-25-2014
|
||||
02-17-2024
|
||||
07-30-1977
|
||||
09-18-2022
|
||||
07-24-1979
|
||||
10-06-2020
|
||||
11-15-1974
|
||||
01-25-2019
|
||||
05-19-1988
|
||||
11-14-1978
|
||||
04-06-2012
|
||||
11-18-1981
|
||||
01-06-1982
|
||||
05-08-1995
|
||||
07-12-2006
|
||||
03-01-1970
|
||||
12-05-1987
|
||||
01-14-2005
|
||||
09-25-1978
|
||||
05-09-1997
|
||||
09-11-1998
|
||||
02-03-1990
|
||||
05-28-1990
|
||||
03-26-1999
|
||||
02-17-2000
|
||||
07-19-2007
|
||||
02-29-1992
|
||||
11-07-2004
|
||||
04-24-2017
|
||||
03-15-2010
|
||||
11-21-2020
|
||||
10-22-2003
|
||||
02-03-1983
|
||||
02-26-1971
|
||||
09-19-1996
|
||||
08-10-1974
|
||||
10-25-2003
|
||||
12-04-2019
|
||||
07-12-2004
|
||||
05-29-1997
|
||||
12-18-1980
|
||||
06-25-1999
|
||||
10-13-1993
|
||||
06-01-1977
|
||||
09-14-1983
|
||||
01-14-1979
|
||||
07-20-2017
|
||||
01-14-1993
|
||||
09-29-2017
|
||||
01-25-1980
|
||||
09-01-1997
|
||||
09-30-1989
|
||||
01-20-1993
|
||||
12-16-1997
|
||||
11-14-1977
|
||||
08-21-2005
|
||||
11-18-2000
|
||||
12-21-1987
|
||||
04-23-1999
|
||||
12-10-1986
|
||||
08-01-1995
|
||||
03-19-1988
|
||||
08-25-1984
|
||||
09-10-2008
|
||||
09-15-1990
|
||||
08-05-2002
|
||||
02-17-2024
|
||||
02-17-1972
|
||||
01-09-1997
|
||||
09-14-2004
|
||||
10-13-2000
|
||||
08-25-2019
|
||||
06-13-1993
|
||||
09-29-1987
|
||||
06-07-2003
|
||||
02-14-1986
|
||||
10-01-1971
|
||||
08-01-1975
|
||||
03-17-2024
|
||||
03-16-2009
|
||||
07-28-1998
|
||||
02-01-1995
|
||||
02-25-2001
|
||||
05-30-1998
|
||||
11-10-1998
|
||||
02-11-1983
|
||||
04-08-1976
|
||||
03-08-1970
|
||||
02-10-2003
|
||||
11-27-2020
|
||||
03-25-2020
|
||||
07-17-2015
|
||||
05-31-1992
|
||||
11-21-1969
|
||||
05-31-2022
|
||||
06-09-1984
|
||||
06-15-2014
|
||||
07-23-1994
|
||||
01-29-1985
|
||||
10-26-2015
|
||||
04-21-2012
|
||||
07-07-1972
|
||||
02-12-2007
|
||||
10-23-1996
|
||||
05-20-1991
|
||||
07-06-2003
|
||||
12-06-1975
|
||||
06-13-2009
|
||||
09-17-2010
|
||||
11-02-2022
|
||||
03-07-1996
|
||||
11-03-1995
|
||||
02-15-1993
|
||||
08-23-1995
|
||||
11-14-1982
|
||||
02-13-1973
|
||||
12-29-1979
|
||||
03-29-2005
|
||||
09-30-1970
|
||||
02-27-1982
|
||||
09-14-2017
|
||||
05-22-2020
|
||||
09-09-1986
|
||||
08-31-2008
|
||||
04-07-1996
|
||||
05-09-1971
|
||||
01-07-1986
|
||||
08-01-1979
|
||||
01-04-2021
|
||||
02-25-1975
|
||||
01-27-1981
|
||||
04-13-2015
|
||||
12-10-1981
|
||||
11-30-1989
|
||||
10-13-2006
|
||||
06-27-1990
|
||||
06-01-1996
|
||||
09-18-1991
|
||||
07-16-2019
|
||||
03-31-2013
|
||||
04-02-1970
|
||||
02-09-1998
|
||||
07-26-1986
|
||||
04-07-1976
|
||||
08-13-1989
|
||||
12-30-2015
|
||||
04-04-2003
|
||||
08-26-1991
|
||||
03-06-1992
|
||||
01-27-1987
|
||||
02-04-1986
|
||||
01-20-1999
|
||||
04-13-1980
|
||||
08-26-1992
|
||||
06-05-2011
|
||||
07-12-1990
|
||||
03-29-1971
|
||||
09-11-2016
|
||||
05-16-1992
|
||||
09-17-2022
|
||||
09-05-2018
|
||||
12-06-1986
|
||||
11-10-1969
|
||||
06-09-2018
|
||||
12-04-1999
|
||||
01-15-1997
|
||||
03-17-2021
|
||||
01-04-1990
|
||||
12-04-1987
|
||||
08-06-2019
|
||||
03-17-2014
|
||||
11-16-1980
|
||||
01-26-2021
|
||||
08-14-2000
|
||||
05-13-1975
|
||||
10-05-2011
|
||||
11-17-2020
|
||||
10-01-1971
|
||||
10-05-1987
|
||||
11-06-1973
|
||||
04-23-1995
|
||||
12-16-1996
|
||||
12-20-1985
|
||||
08-15-1980
|
||||
07-21-1995
|
||||
05-06-1998
|
||||
06-25-1996
|
||||
08-01-1988
|
||||
10-22-1999
|
||||
12-31-2023
|
||||
03-06-1975
|
||||
10-19-2000
|
||||
11-07-1989
|
||||
07-17-1980
|
||||
02-25-2018
|
||||
05-02-1993
|
||||
03-12-2007
|
||||
12-27-1972
|
||||
06-29-2008
|
||||
04-04-2016
|
||||
06-18-2020
|
||||
10-21-1975
|
||||
11-05-2009
|
||||
01-04-2010
|
||||
12-19-1976
|
||||
05-03-1992
|
||||
08-11-1977
|
||||
01-28-1984
|
||||
06-01-2004
|
||||
04-07-1990
|
||||
04-23-1995
|
||||
07-20-2011
|
||||
01-26-2004
|
||||
10-20-1997
|
||||
04-04-1989
|
||||
02-27-2015
|
||||
02-26-2021
|
||||
11-30-2000
|
||||
06-23-2018
|
||||
10-05-2007
|
||||
10-19-1975
|
||||
07-08-2013
|
||||
09-30-2011
|
||||
08-27-1991
|
||||
03-04-1999
|
||||
03-17-2001
|
||||
09-18-1997
|
||||
12-13-2014
|
||||
04-15-2024
|
||||
11-26-2009
|
||||
10-22-2000
|
||||
01-24-2014
|
||||
10-30-1993
|
||||
09-22-2016
|
||||
11-06-1969
|
||||
07-28-1995
|
||||
12-26-1995
|
||||
10-23-2005
|
||||
02-20-1988
|
||||
09-12-1983
|
||||
08-01-2023
|
||||
02-20-1988
|
||||
09-19-2022
|
||||
04-01-1998
|
||||
04-10-1988
|
||||
10-30-1989
|
||||
12-06-1990
|
||||
09-28-2022
|
||||
06-28-1980
|
||||
03-20-1987
|
||||
05-21-1971
|
||||
12-18-1986
|
||||
06-15-1990
|
||||
07-08-1972
|
||||
12-26-1989
|
||||
03-08-1978
|
||||
06-29-1980
|
||||
02-27-2011
|
||||
08-15-2017
|
||||
08-22-2007
|
||||
08-19-1992
|
||||
10-05-2016
|
||||
09-18-2004
|
||||
11-15-1971
|
||||
02-13-2000
|
||||
01-31-1989
|
||||
03-22-1974
|
||||
06-26-2021
|
||||
07-19-1999
|
||||
02-11-2003
|
||||
08-12-2021
|
||||
08-08-2011
|
||||
12-15-2023
|
||||
05-18-2014
|
||||
10-28-2018
|
||||
11-14-1996
|
||||
12-03-2019
|
||||
09-11-2001
|
||||
08-28-2010
|
||||
06-16-2014
|
||||
01-13-2004
|
||||
04-07-1981
|
||||
02-14-2016
|
||||
01-03-2022
|
||||
06-06-2013
|
||||
02-09-2023
|
||||
04-11-1986
|
||||
03-21-1979
|
||||
12-25-1990
|
||||
02-17-2020
|
||||
09-18-2002
|
||||
09-23-2010
|
||||
11-21-1996
|
||||
01-31-1980
|
||||
01-27-2000
|
||||
01-27-1988
|
|
1001
PostgreSQL/.data/sentences.csv
Normal file
1001
PostgreSQL/.data/sentences.csv
Normal file
File diff suppressed because it is too large
Load Diff
1001
PostgreSQL/.data/urls.csv
Normal file
1001
PostgreSQL/.data/urls.csv
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,944 +0,0 @@
|
||||
date
|
||||
01/15/2011
|
||||
01/02/1973
|
||||
06/02/2004
|
||||
08/01/2022
|
||||
01/11/2008
|
||||
01/10/1983
|
||||
09/06/2016
|
||||
09/01/2012
|
||||
01/15/1970
|
||||
09/14/1979
|
||||
12/15/1991
|
||||
05/20/1971
|
||||
08/10/1986
|
||||
12/07/2007
|
||||
05/09/2020
|
||||
05/12/2012
|
||||
10/03/2000
|
||||
04/14/1986
|
||||
09/04/1997
|
||||
10/17/1985
|
||||
07/31/1971
|
||||
09/09/1976
|
||||
06/17/1971
|
||||
06/01/1976
|
||||
08/31/2018
|
||||
12/26/1972
|
||||
08/14/1983
|
||||
04/11/1970
|
||||
07/12/2016
|
||||
06/02/2023
|
||||
03/27/2020
|
||||
05/16/1997
|
||||
11/18/1976
|
||||
03/03/1976
|
||||
03/03/1975
|
||||
12/20/1996
|
||||
03/05/1980
|
||||
11/14/2018
|
||||
12/03/2006
|
||||
05/08/2018
|
||||
12/15/2009
|
||||
06/21/1975
|
||||
03/15/1996
|
||||
08/22/2023
|
||||
12/29/1997
|
||||
11/18/1975
|
||||
06/01/2012
|
||||
05/09/2020
|
||||
06/21/1987
|
||||
08/18/1985
|
||||
06/11/2014
|
||||
05/29/1991
|
||||
03/17/2002
|
||||
11/10/2021
|
||||
04/21/1976
|
||||
06/28/1975
|
||||
06/11/1984
|
||||
03/22/2016
|
||||
04/30/2016
|
||||
05/06/2001
|
||||
10/08/1970
|
||||
06/21/1970
|
||||
09/12/1999
|
||||
06/24/2011
|
||||
04/07/1974
|
||||
08/22/1982
|
||||
04/17/1975
|
||||
10/16/2010
|
||||
02/11/1988
|
||||
05/12/2006
|
||||
09/11/2006
|
||||
04/01/1983
|
||||
03/19/2018
|
||||
06/13/1986
|
||||
10/25/2020
|
||||
12/17/2012
|
||||
06/10/2004
|
||||
04/18/2018
|
||||
01/29/2006
|
||||
07/10/1980
|
||||
02/27/1985
|
||||
08/06/1992
|
||||
12/12/1993
|
||||
06/06/1977
|
||||
06/07/1979
|
||||
08/29/2018
|
||||
01/15/2021
|
||||
06/07/2008
|
||||
03/12/2013
|
||||
04/22/1992
|
||||
08/13/2009
|
||||
11/11/1969
|
||||
03/04/1978
|
||||
03/06/2023
|
||||
06/01/2014
|
||||
03/02/1998
|
||||
11/26/1975
|
||||
05/14/1972
|
||||
02/29/1996
|
||||
04/06/2006
|
||||
09/27/1979
|
||||
09/22/2022
|
||||
06/15/1985
|
||||
09/14/1987
|
||||
01/19/2024
|
||||
08/12/1986
|
||||
06/01/1983
|
||||
03/06/2018
|
||||
06/09/2015
|
||||
02/14/2007
|
||||
04/30/2024
|
||||
03/03/1987
|
||||
12/02/1976
|
||||
02/28/1990
|
||||
10/16/1983
|
||||
10/17/1988
|
||||
07/29/2019
|
||||
10/21/1990
|
||||
06/29/1999
|
||||
12/11/1995
|
||||
07/31/2015
|
||||
10/18/2023
|
||||
01/21/1974
|
||||
09/04/1973
|
||||
12/27/2017
|
||||
09/21/1985
|
||||
07/16/1990
|
||||
03/09/1971
|
||||
02/19/1978
|
||||
11/19/1974
|
||||
09/27/1976
|
||||
12/13/1996
|
||||
06/16/1998
|
||||
12/24/1993
|
||||
04/02/1984
|
||||
01/25/1970
|
||||
06/07/2013
|
||||
07/05/2015
|
||||
04/02/2014
|
||||
09/20/1999
|
||||
12/23/1972
|
||||
04/11/1982
|
||||
06/29/1979
|
||||
04/03/1976
|
||||
10/18/1988
|
||||
01/31/2021
|
||||
04/04/1997
|
||||
01/15/2001
|
||||
02/25/1987
|
||||
06/05/2005
|
||||
06/17/1983
|
||||
01/31/1987
|
||||
08/03/1981
|
||||
12/08/2013
|
||||
11/23/2002
|
||||
03/23/1999
|
||||
02/08/1971
|
||||
12/29/1998
|
||||
10/15/1983
|
||||
04/06/2006
|
||||
02/28/1984
|
||||
06/06/2000
|
||||
05/18/2007
|
||||
09/05/2023
|
||||
03/18/2016
|
||||
03/02/1999
|
||||
04/26/1984
|
||||
10/09/1995
|
||||
08/16/2004
|
||||
08/08/2020
|
||||
10/19/2001
|
||||
04/13/1987
|
||||
01/19/2012
|
||||
09/29/2019
|
||||
08/10/2000
|
||||
04/06/2011
|
||||
05/22/2010
|
||||
11/04/1988
|
||||
04/02/2015
|
||||
04/05/2010
|
||||
10/05/1982
|
||||
12/30/1976
|
||||
05/27/1980
|
||||
08/15/1976
|
||||
01/05/1975
|
||||
01/02/1994
|
||||
09/23/2024
|
||||
11/12/2020
|
||||
11/22/2020
|
||||
08/27/1979
|
||||
12/29/1991
|
||||
08/20/2004
|
||||
03/04/1988
|
||||
02/25/2023
|
||||
10/31/1984
|
||||
05/05/2017
|
||||
12/22/2022
|
||||
07/31/1983
|
||||
11/30/1991
|
||||
04/08/1979
|
||||
02/14/2008
|
||||
07/27/2018
|
||||
07/22/1989
|
||||
06/17/1998
|
||||
09/28/1983
|
||||
02/01/2023
|
||||
06/11/1972
|
||||
02/28/1977
|
||||
05/07/2013
|
||||
06/25/1990
|
||||
11/13/1994
|
||||
12/28/1978
|
||||
11/13/1992
|
||||
03/23/2006
|
||||
10/12/1984
|
||||
09/09/1986
|
||||
12/14/2009
|
||||
11/09/2024
|
||||
04/30/1973
|
||||
06/14/1997
|
||||
03/14/2011
|
||||
09/13/2016
|
||||
10/27/1999
|
||||
10/20/1991
|
||||
10/09/1978
|
||||
07/30/1992
|
||||
08/28/1992
|
||||
03/07/2017
|
||||
05/14/2008
|
||||
02/21/1974
|
||||
03/15/2007
|
||||
12/13/2019
|
||||
11/09/1997
|
||||
12/11/1992
|
||||
08/16/1993
|
||||
11/20/1982
|
||||
01/20/2016
|
||||
04/29/2003
|
||||
07/14/1974
|
||||
04/01/1986
|
||||
03/12/1992
|
||||
06/14/2017
|
||||
04/22/2007
|
||||
01/28/2011
|
||||
08/19/1977
|
||||
04/23/2020
|
||||
05/31/1973
|
||||
08/17/1978
|
||||
04/26/1972
|
||||
12/02/2000
|
||||
11/29/1974
|
||||
01/30/1972
|
||||
02/11/2006
|
||||
11/05/2006
|
||||
10/02/2016
|
||||
05/04/1998
|
||||
12/20/2023
|
||||
05/09/2024
|
||||
06/12/1986
|
||||
03/17/1988
|
||||
02/02/2021
|
||||
01/25/1977
|
||||
09/11/1970
|
||||
09/25/1998
|
||||
09/19/1986
|
||||
11/01/1980
|
||||
03/25/1988
|
||||
08/01/1974
|
||||
10/10/1991
|
||||
07/09/1978
|
||||
04/01/1970
|
||||
07/07/1987
|
||||
03/23/1983
|
||||
07/04/2001
|
||||
09/08/1985
|
||||
02/22/1994
|
||||
01/25/2016
|
||||
01/09/2005
|
||||
09/13/2015
|
||||
01/30/2009
|
||||
08/17/1995
|
||||
02/14/1987
|
||||
04/19/2010
|
||||
09/11/1972
|
||||
12/13/1986
|
||||
02/28/2001
|
||||
01/02/2001
|
||||
06/25/1976
|
||||
03/09/1998
|
||||
10/08/2008
|
||||
03/28/1981
|
||||
07/21/1991
|
||||
02/03/2022
|
||||
01/25/1995
|
||||
11/02/2007
|
||||
02/20/1987
|
||||
08/05/1992
|
||||
10/22/2014
|
||||
02/23/1996
|
||||
11/07/2020
|
||||
12/28/1976
|
||||
04/11/2003
|
||||
12/07/1984
|
||||
01/11/1976
|
||||
04/23/1991
|
||||
04/19/1989
|
||||
09/16/1998
|
||||
09/11/1998
|
||||
06/04/1982
|
||||
09/09/1989
|
||||
01/09/1983
|
||||
03/25/1981
|
||||
11/03/2005
|
||||
02/06/1970
|
||||
10/13/2011
|
||||
11/04/1975
|
||||
03/12/2004
|
||||
03/09/1996
|
||||
05/10/1998
|
||||
08/16/1991
|
||||
07/27/1991
|
||||
05/09/1984
|
||||
11/20/1989
|
||||
12/23/1981
|
||||
07/20/1984
|
||||
11/24/1976
|
||||
08/18/2010
|
||||
02/03/1991
|
||||
06/13/1991
|
||||
11/27/1978
|
||||
10/23/2023
|
||||
06/06/1991
|
||||
11/25/2012
|
||||
02/28/1992
|
||||
02/02/1979
|
||||
07/27/1974
|
||||
05/10/1990
|
||||
05/14/2000
|
||||
07/15/1988
|
||||
12/25/1982
|
||||
06/28/2000
|
||||
09/11/1983
|
||||
07/28/1978
|
||||
04/23/2016
|
||||
11/27/2018
|
||||
06/22/2002
|
||||
08/27/2004
|
||||
02/06/1985
|
||||
07/23/2012
|
||||
10/25/1970
|
||||
10/16/2016
|
||||
06/15/1992
|
||||
04/27/2024
|
||||
11/28/1972
|
||||
08/27/1970
|
||||
03/19/2013
|
||||
08/31/1988
|
||||
08/07/1997
|
||||
03/24/1984
|
||||
11/10/1969
|
||||
03/04/1989
|
||||
04/23/2009
|
||||
02/16/2020
|
||||
12/18/1984
|
||||
08/25/1988
|
||||
02/08/1993
|
||||
08/19/1989
|
||||
09/02/1996
|
||||
01/21/2020
|
||||
01/27/1975
|
||||
12/08/1973
|
||||
02/22/1977
|
||||
04/28/2006
|
||||
11/24/2008
|
||||
03/23/1971
|
||||
09/26/2014
|
||||
07/17/2019
|
||||
05/09/2000
|
||||
07/10/2008
|
||||
08/27/1983
|
||||
09/20/1972
|
||||
12/09/1993
|
||||
03/26/2004
|
||||
06/13/1979
|
||||
06/02/1977
|
||||
03/20/2024
|
||||
06/29/2000
|
||||
09/19/1995
|
||||
10/06/2020
|
||||
04/18/1997
|
||||
11/16/1997
|
||||
10/28/1999
|
||||
07/20/2006
|
||||
01/20/2017
|
||||
12/27/2016
|
||||
07/05/2004
|
||||
05/19/2013
|
||||
12/03/1976
|
||||
06/21/2012
|
||||
06/23/2019
|
||||
01/14/2019
|
||||
09/21/2002
|
||||
03/13/2004
|
||||
07/28/1970
|
||||
06/24/1989
|
||||
11/21/2018
|
||||
11/06/2023
|
||||
04/21/1994
|
||||
10/12/2001
|
||||
07/24/2005
|
||||
10/01/1984
|
||||
10/17/1969
|
||||
04/02/1994
|
||||
10/19/2013
|
||||
02/12/2003
|
||||
01/16/2015
|
||||
10/03/2000
|
||||
06/15/1990
|
||||
02/01/2013
|
||||
09/15/1974
|
||||
02/27/2015
|
||||
08/11/2021
|
||||
01/17/1987
|
||||
09/02/2004
|
||||
02/15/1988
|
||||
01/24/1991
|
||||
10/17/2022
|
||||
12/19/2012
|
||||
09/01/2006
|
||||
06/04/1979
|
||||
01/21/1989
|
||||
11/14/1991
|
||||
09/03/2008
|
||||
07/13/2020
|
||||
07/22/2018
|
||||
05/06/1970
|
||||
03/21/1976
|
||||
04/25/1992
|
||||
06/15/2003
|
||||
08/31/2015
|
||||
07/19/1977
|
||||
10/30/2003
|
||||
06/10/2013
|
||||
10/05/2015
|
||||
09/23/2000
|
||||
12/27/1992
|
||||
11/18/1981
|
||||
07/10/1989
|
||||
09/19/2015
|
||||
12/31/1978
|
||||
07/20/2001
|
||||
10/16/1992
|
||||
02/23/1988
|
||||
03/10/2016
|
||||
11/15/1969
|
||||
07/16/2013
|
||||
09/12/1989
|
||||
09/06/1983
|
||||
05/13/1979
|
||||
11/14/1993
|
||||
04/15/1991
|
||||
02/22/1992
|
||||
09/19/2013
|
||||
09/15/1994
|
||||
08/18/1993
|
||||
09/11/1998
|
||||
03/02/2016
|
||||
07/18/2012
|
||||
01/25/2005
|
||||
06/14/1983
|
||||
11/03/1992
|
||||
11/27/1978
|
||||
08/13/1999
|
||||
03/21/1987
|
||||
06/12/2014
|
||||
07/19/1987
|
||||
03/15/2021
|
||||
10/27/1992
|
||||
12/11/1990
|
||||
12/04/2017
|
||||
07/29/1979
|
||||
10/24/1979
|
||||
09/05/1984
|
||||
03/08/2000
|
||||
11/01/1993
|
||||
05/22/2002
|
||||
11/19/1985
|
||||
01/29/2004
|
||||
05/02/2008
|
||||
03/20/1980
|
||||
05/10/1990
|
||||
10/26/1995
|
||||
01/21/2011
|
||||
03/07/1975
|
||||
07/13/2000
|
||||
12/05/1986
|
||||
06/12/1982
|
||||
09/21/1980
|
||||
08/06/2010
|
||||
07/30/1974
|
||||
12/14/1980
|
||||
03/22/1995
|
||||
04/15/1972
|
||||
05/09/1988
|
||||
08/25/2007
|
||||
01/18/1990
|
||||
11/14/1999
|
||||
01/17/1980
|
||||
07/24/1976
|
||||
07/08/1982
|
||||
05/14/1985
|
||||
10/10/2018
|
||||
03/03/1984
|
||||
12/08/1989
|
||||
09/19/2020
|
||||
07/06/1982
|
||||
06/25/2015
|
||||
01/25/2001
|
||||
03/07/1988
|
||||
11/17/1987
|
||||
10/29/1991
|
||||
03/31/2020
|
||||
11/08/2001
|
||||
04/25/2002
|
||||
12/26/1992
|
||||
01/28/2019
|
||||
07/03/1972
|
||||
01/04/2024
|
||||
02/07/2009
|
||||
09/28/2010
|
||||
08/04/2015
|
||||
06/18/2016
|
||||
11/23/2018
|
||||
05/26/2004
|
||||
10/14/2001
|
||||
08/10/1997
|
||||
01/16/1970
|
||||
10/19/2007
|
||||
10/14/2005
|
||||
05/14/2009
|
||||
09/22/2010
|
||||
05/11/1985
|
||||
11/21/1995
|
||||
09/21/2020
|
||||
07/03/1991
|
||||
01/11/1985
|
||||
02/06/1993
|
||||
09/03/2007
|
||||
05/19/1973
|
||||
04/02/1973
|
||||
07/18/2021
|
||||
05/06/1970
|
||||
06/30/1980
|
||||
12/26/1991
|
||||
05/20/1995
|
||||
05/12/1998
|
||||
03/02/1970
|
||||
09/03/2002
|
||||
08/19/1987
|
||||
01/03/2004
|
||||
09/30/2005
|
||||
12/30/1985
|
||||
12/20/1992
|
||||
04/04/2008
|
||||
01/08/1986
|
||||
01/28/2011
|
||||
10/10/2010
|
||||
12/21/2003
|
||||
04/02/2004
|
||||
07/07/1994
|
||||
07/05/1984
|
||||
10/08/1995
|
||||
11/27/1979
|
||||
10/31/2020
|
||||
03/01/2004
|
||||
06/27/1972
|
||||
08/15/1975
|
||||
01/10/1996
|
||||
12/08/2012
|
||||
01/14/2018
|
||||
10/09/1982
|
||||
03/19/1996
|
||||
01/20/1994
|
||||
09/17/1990
|
||||
12/16/1971
|
||||
08/25/1984
|
||||
08/18/2020
|
||||
02/04/1987
|
||||
05/11/1975
|
||||
05/14/1970
|
||||
12/02/1994
|
||||
10/11/1999
|
||||
04/29/2013
|
||||
08/09/2006
|
||||
12/06/2023
|
||||
07/20/2007
|
||||
06/21/1987
|
||||
10/22/1985
|
||||
05/27/1980
|
||||
01/15/2000
|
||||
08/04/2010
|
||||
03/08/2008
|
||||
11/14/1974
|
||||
04/06/1995
|
||||
09/30/2006
|
||||
12/10/1974
|
||||
10/21/2008
|
||||
01/24/1981
|
||||
09/17/1975
|
||||
10/15/2009
|
||||
07/01/2019
|
||||
01/11/1990
|
||||
11/03/2005
|
||||
06/27/2000
|
||||
01/14/2015
|
||||
09/11/2024
|
||||
04/30/1997
|
||||
10/07/2015
|
||||
04/01/1976
|
||||
12/08/1990
|
||||
01/14/2019
|
||||
12/27/1997
|
||||
07/12/1981
|
||||
05/25/2005
|
||||
04/03/1985
|
||||
09/30/1992
|
||||
04/17/1983
|
||||
01/17/2003
|
||||
09/29/2017
|
||||
06/02/1975
|
||||
01/19/2006
|
||||
07/07/1990
|
||||
01/30/1972
|
||||
11/07/1995
|
||||
02/07/1994
|
||||
09/28/2023
|
||||
01/24/1980
|
||||
03/19/1987
|
||||
09/08/2013
|
||||
11/05/2013
|
||||
05/20/2014
|
||||
01/16/2018
|
||||
03/25/2012
|
||||
08/27/1972
|
||||
05/17/1976
|
||||
05/20/2009
|
||||
04/30/2014
|
||||
08/25/2014
|
||||
02/17/2024
|
||||
07/30/1977
|
||||
09/18/2022
|
||||
07/24/1979
|
||||
10/06/2020
|
||||
11/15/1974
|
||||
01/25/2019
|
||||
05/19/1988
|
||||
11/14/1978
|
||||
04/06/2012
|
||||
11/18/1981
|
||||
01/06/1982
|
||||
05/08/1995
|
||||
07/12/2006
|
||||
03/01/1970
|
||||
12/05/1987
|
||||
01/14/2005
|
||||
09/25/1978
|
||||
05/09/1997
|
||||
09/11/1998
|
||||
02/03/1990
|
||||
05/28/1990
|
||||
03/26/1999
|
||||
02/17/2000
|
||||
07/19/2007
|
||||
02/29/1992
|
||||
11/07/2004
|
||||
04/24/2017
|
||||
03/15/2010
|
||||
11/21/2020
|
||||
10/22/2003
|
||||
02/03/1983
|
||||
02/26/1971
|
||||
09/19/1996
|
||||
08/10/1974
|
||||
10/25/2003
|
||||
12/04/2019
|
||||
07/12/2004
|
||||
05/29/1997
|
||||
12/18/1980
|
||||
06/25/1999
|
||||
10/13/1993
|
||||
06/01/1977
|
||||
09/14/1983
|
||||
01/14/1979
|
||||
07/20/2017
|
||||
01/14/1993
|
||||
09/29/2017
|
||||
01/25/1980
|
||||
09/01/1997
|
||||
09/30/1989
|
||||
01/20/1993
|
||||
12/16/1997
|
||||
11/14/1977
|
||||
08/21/2005
|
||||
11/18/2000
|
||||
12/21/1987
|
||||
04/23/1999
|
||||
12/10/1986
|
||||
08/01/1995
|
||||
03/19/1988
|
||||
08/25/1984
|
||||
09/10/2008
|
||||
09/15/1990
|
||||
08/05/2002
|
||||
02/17/2024
|
||||
02/17/1972
|
||||
01/09/1997
|
||||
09/14/2004
|
||||
10/13/2000
|
||||
08/25/2019
|
||||
06/13/1993
|
||||
09/29/1987
|
||||
06/07/2003
|
||||
02/14/1986
|
||||
10/01/1971
|
||||
08/01/1975
|
||||
03/17/2024
|
||||
03/16/2009
|
||||
07/28/1998
|
||||
02/01/1995
|
||||
02/25/2001
|
||||
05/30/1998
|
||||
11/10/1998
|
||||
02/11/1983
|
||||
04/08/1976
|
||||
03/08/1970
|
||||
02/10/2003
|
||||
11/27/2020
|
||||
03/25/2020
|
||||
07/17/2015
|
||||
05/31/1992
|
||||
11/21/1969
|
||||
05/31/2022
|
||||
06/09/1984
|
||||
06/15/2014
|
||||
07/23/1994
|
||||
01/29/1985
|
||||
10/26/2015
|
||||
04/21/2012
|
||||
07/07/1972
|
||||
02/12/2007
|
||||
10/23/1996
|
||||
05/20/1991
|
||||
07/06/2003
|
||||
12/06/1975
|
||||
06/13/2009
|
||||
09/17/2010
|
||||
11/02/2022
|
||||
03/07/1996
|
||||
11/03/1995
|
||||
02/15/1993
|
||||
08/23/1995
|
||||
11/14/1982
|
||||
02/13/1973
|
||||
12/29/1979
|
||||
03/29/2005
|
||||
09/30/1970
|
||||
02/27/1982
|
||||
09/14/2017
|
||||
05/22/2020
|
||||
09/09/1986
|
||||
08/31/2008
|
||||
04/07/1996
|
||||
05/09/1971
|
||||
01/07/1986
|
||||
08/01/1979
|
||||
01/04/2021
|
||||
02/25/1975
|
||||
01/27/1981
|
||||
04/13/2015
|
||||
12/10/1981
|
||||
11/30/1989
|
||||
10/13/2006
|
||||
06/27/1990
|
||||
06/01/1996
|
||||
09/18/1991
|
||||
07/16/2019
|
||||
03/31/2013
|
||||
04/02/1970
|
||||
02/09/1998
|
||||
07/26/1986
|
||||
04/07/1976
|
||||
08/13/1989
|
||||
12/30/2015
|
||||
04/04/2003
|
||||
08/26/1991
|
||||
03/06/1992
|
||||
01/27/1987
|
||||
02/04/1986
|
||||
01/20/1999
|
||||
04/13/1980
|
||||
08/26/1992
|
||||
06/05/2011
|
||||
07/12/1990
|
||||
03/29/1971
|
||||
09/11/2016
|
||||
05/16/1992
|
||||
09/17/2022
|
||||
09/05/2018
|
||||
12/06/1986
|
||||
11/10/1969
|
||||
06/09/2018
|
||||
12/04/1999
|
||||
01/15/1997
|
||||
03/17/2021
|
||||
01/04/1990
|
||||
12/04/1987
|
||||
08/06/2019
|
||||
03/17/2014
|
||||
11/16/1980
|
||||
01/26/2021
|
||||
08/14/2000
|
||||
05/13/1975
|
||||
10/05/2011
|
||||
11/17/2020
|
||||
10/01/1971
|
||||
10/05/1987
|
||||
11/06/1973
|
||||
04/23/1995
|
||||
12/16/1996
|
||||
12/20/1985
|
||||
08/15/1980
|
||||
07/21/1995
|
||||
05/06/1998
|
||||
06/25/1996
|
||||
08/01/1988
|
||||
10/22/1999
|
||||
12/31/2023
|
||||
03/06/1975
|
||||
10/19/2000
|
||||
11/07/1989
|
||||
07/17/1980
|
||||
02/25/2018
|
||||
05/02/1993
|
||||
03/12/2007
|
||||
12/27/1972
|
||||
06/29/2008
|
||||
04/04/2016
|
||||
06/18/2020
|
||||
10/21/1975
|
||||
11/05/2009
|
||||
01/04/2010
|
||||
12/19/1976
|
||||
05/03/1992
|
||||
08/11/1977
|
||||
01/28/1984
|
||||
06/01/2004
|
||||
04/07/1990
|
||||
04/23/1995
|
||||
07/20/2011
|
||||
01/26/2004
|
||||
10/20/1997
|
||||
04/04/1989
|
||||
02/27/2015
|
||||
02/26/2021
|
||||
11/30/2000
|
||||
06/23/2018
|
||||
10/05/2007
|
||||
10/19/1975
|
||||
07/08/2013
|
||||
09/30/2011
|
||||
08/27/1991
|
||||
03/04/1999
|
||||
03/17/2001
|
||||
09/18/1997
|
||||
12/13/2014
|
||||
04/15/2024
|
||||
11/26/2009
|
||||
10/22/2000
|
||||
01/24/2014
|
||||
10/30/1993
|
||||
09/22/2016
|
||||
11/06/1969
|
||||
07/28/1995
|
||||
12/26/1995
|
||||
10/23/2005
|
||||
02/20/1988
|
||||
09/12/1983
|
||||
08/01/2023
|
||||
02/20/1988
|
||||
09/19/2022
|
||||
04/01/1998
|
||||
04/10/1988
|
||||
10/30/1989
|
||||
12/06/1990
|
||||
09/28/2022
|
||||
06/28/1980
|
||||
03/20/1987
|
||||
05/21/1971
|
||||
12/18/1986
|
||||
06/15/1990
|
||||
07/08/1972
|
||||
12/26/1989
|
||||
03/08/1978
|
||||
06/29/1980
|
||||
02/27/2011
|
||||
08/15/2017
|
||||
08/22/2007
|
||||
08/19/1992
|
||||
10/05/2016
|
||||
09/18/2004
|
||||
11/15/1971
|
||||
02/13/2000
|
||||
01/31/1989
|
||||
03/22/1974
|
||||
06/26/2021
|
||||
07/19/1999
|
||||
02/11/2003
|
||||
08/12/2021
|
||||
08/08/2011
|
||||
12/15/2023
|
||||
05/18/2014
|
||||
10/28/2018
|
||||
11/14/1996
|
||||
12/03/2019
|
||||
09/11/2001
|
||||
08/28/2010
|
||||
06/16/2014
|
||||
01/13/2004
|
||||
04/07/1981
|
||||
02/14/2016
|
||||
01/03/2022
|
||||
06/06/2013
|
||||
02/09/2023
|
||||
04/11/1986
|
||||
03/21/1979
|
||||
12/25/1990
|
||||
02/17/2020
|
||||
09/18/2002
|
||||
09/23/2010
|
||||
11/21/1996
|
||||
01/31/1980
|
||||
01/27/2000
|
||||
01/27/1988
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -10,6 +10,7 @@
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
import os
|
||||
import random
|
||||
import csv
|
||||
|
||||
@ -21,15 +22,52 @@ import csv
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
pathIntegers : str = "data/row_numbers.csv"
|
||||
pathSentences : str = "data/sentences.csv"
|
||||
pathUrls : str = "data/urls.csv"
|
||||
pathWords : str = "data/words.csv"
|
||||
pathNames : str = "data/names.csv"
|
||||
pathNameModels : str = "data/name_models.csv"
|
||||
pathDates : str = "data/dates.csv"
|
||||
pathColors : str = "data/colors.csv"
|
||||
pathBrands : str = "data/brands.csv"
|
||||
pathIntegers : str = ".data/row_numbers.csv"
|
||||
pathSentences : str = ".data/sentences.csv"
|
||||
pathUrls : str = ".data/urls.csv"
|
||||
pathWords : str = ".data/words.csv"
|
||||
pathNames : str = ".data/names.csv"
|
||||
pathNameModels : str = ".data/name_models.csv"
|
||||
pathDates : str = ".data/dates.csv"
|
||||
pathColors : str = ".data/colors.csv"
|
||||
pathBrands : str = ".data/brands.csv"
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# TO KNOW WHICH NUMBER IS USED FOR A PRIMARY KEY
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
def initialize_dict_primary_key(pathFile : str) -> dict:
|
||||
"""
|
||||
:param pathFile: merely is `pathIntegers`.
|
||||
"""
|
||||
d : dict = {}
|
||||
|
||||
with open(pathFile, 'r') as toto:
|
||||
csvList = list(csv.reader(toto))
|
||||
|
||||
for element in csvList[1:]:
|
||||
d[int(element[0])] = 0
|
||||
|
||||
return d
|
||||
|
||||
###############################################################################
|
||||
|
||||
# id_truc = { X (int) : 1 or 0 } 1 for used, 0 for not.
|
||||
idMembreDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idBoiteDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idCouleurDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idFilDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idFormeDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idIllustrDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idMarqueDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idMessageDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idModeleDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idMotifDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idPieceDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idPieceCompDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
idTagDict : dict = initialize_dict_primary_key(pathIntegers)
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
@ -37,6 +75,47 @@ pathBrands : str = "data/brands.csv"
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
def give_used_key(idDict : dict) -> str:
|
||||
"""
|
||||
:param idDict: idTructDict.
|
||||
:return: a key X that is used i.e idTrucDict[X] == 1
|
||||
"""
|
||||
dictUsed : dict = { k: v for k, v in idDict.items() if v == 1 }
|
||||
keysUsed : list = list(dictUsed.keys())
|
||||
length : int = len(keysUsed)
|
||||
|
||||
# If the associated table has no instances yet.
|
||||
if length == 0:
|
||||
return ''
|
||||
|
||||
randomKey : int = keysUsed[random.randrange(length)]
|
||||
return str(randomKey)
|
||||
|
||||
###############################################################################
|
||||
|
||||
def give_not_used_key(idDict : dict) -> str:
|
||||
"""
|
||||
:param idDict: idTructDict.
|
||||
:return: a key X that is not used i.e idTrucDict[X] == 0
|
||||
It updates the dict : 0 --> 1.
|
||||
"""
|
||||
dictNotUsed : dict = { k: v for k, v in idDict.items() if v == 0 }
|
||||
keysNotUsed : list = list(dictNotUsed.keys())
|
||||
|
||||
# If the associated table has no instances yet.
|
||||
if len(keysNotUsed) == 0:
|
||||
return ''
|
||||
|
||||
randomKey : int = random.choice(keysNotUsed)
|
||||
idDict[randomKey] = 1
|
||||
return str(randomKey)
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# USED FOR NOT PRIMARY KEY VARIABLES
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
def random_element(pathFile : str) -> str:
|
||||
"""
|
||||
:param pathFile: the relative path of the csv file to read.
|
||||
@ -61,180 +140,135 @@ def construct_line(*args : tuple) -> str:
|
||||
|
||||
###############################################################################
|
||||
|
||||
def generate_line_acheter() -> str:
|
||||
idMembre : str = random_element(pathIntegers)
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
quantite : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_acheter(idMembre : str, idPiece : str,
|
||||
quantite : str) -> str:
|
||||
return construct_line(idMembre, idPiece, quantite)
|
||||
|
||||
def generate_line_avoir_motif() -> str:
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
idMotif : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_avoir_motif(idPiece : str, idMotif : str) -> str:
|
||||
return construct_line(idPiece, idMotif)
|
||||
|
||||
def generate_line_avoir_tag() -> str:
|
||||
idTag : str = random_element(pathIntegers)
|
||||
idBoite : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_avoir_tag(idTag : str, idBoite : str) -> str:
|
||||
return construct_line(idTag, idBoite)
|
||||
|
||||
def generate_line_boites() -> str:
|
||||
idBoite : str = random_element(pathIntegers)
|
||||
def generate_line_boites(idMarque : str) -> str:
|
||||
idBoite : str = give_not_used_key(idBoiteDict)
|
||||
titre : str = "\'" + random_element(pathWords) + "\'"
|
||||
dateBoite : str = random_element(pathDates)
|
||||
idMarque : str = random_element(pathIntegers)
|
||||
dateBoite : str = "\'" + random_element(pathDates) + "\'"
|
||||
|
||||
return construct_line(idBoite, titre, dateBoite, idMarque)
|
||||
|
||||
def generate_line_colorer() -> str:
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
idCouleur : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_colorer(idPiece : str, idCouleur : str) -> str:
|
||||
return construct_line(idPiece, idCouleur)
|
||||
|
||||
def generate_line_construire() -> str:
|
||||
idBoite : str = random_element(pathIntegers)
|
||||
idModele : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_construire(idBoite : str, idModele : str) -> str:
|
||||
return construct_line(idBoite, idModele)
|
||||
|
||||
def generate_line_contenir() -> str:
|
||||
idBoite : str = random_element(pathIntegers)
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
quantite : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_contenir(idBoite : str, idPiece : str,
|
||||
quantite : str) -> str:
|
||||
return construct_line(idBoite, idPiece, quantite)
|
||||
|
||||
def generate_line_couleurs() -> str:
|
||||
idCouleur : str = random_element(pathIntegers)
|
||||
idCouleur : str = give_not_used_key(idCouleurDict)
|
||||
nomCouleur : str = "\'" + random_element(pathColors) + "\'"
|
||||
|
||||
return construct_line(idCouleur, nomCouleur)
|
||||
|
||||
def generate_line_enregistrer() -> str:
|
||||
idBoite : str = random_element(pathIntegers)
|
||||
idMembre : str = random_element(pathIntegers)
|
||||
quantite : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_enregistrer(idBoite : str, idMembre : str,
|
||||
quantite : str) -> str:
|
||||
return construct_line(idBoite, idMembre, quantite)
|
||||
|
||||
def generate_line_etre() -> str:
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
idMarque : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_etre(idPiece : str, idMarque : str) -> str:
|
||||
return construct_line(idPiece, idMarque)
|
||||
|
||||
def generate_line_etre_complexe() -> str:
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
idPieceComp : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_etre_complexe(idPiece : str, idPieceComp : str) -> str:
|
||||
return construct_line(idPiece, idPieceComp)
|
||||
|
||||
def generate_line_etre_forme() -> str:
|
||||
idForme : str = random_element(pathIntegers)
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_etre_forme(idForme : str, idPiece : str) -> str:
|
||||
return construct_line(idForme, idPiece)
|
||||
|
||||
def generate_line_fils() -> str:
|
||||
idFil : str = random_element(pathIntegers)
|
||||
idModele : str = random_element(pathIntegers)
|
||||
def generate_line_fils(idModele : str) -> str:
|
||||
idFil : str = give_not_used_key(idFilDict)
|
||||
|
||||
return construct_line(idFil, idModele)
|
||||
|
||||
def generate_line_illustrations() -> str:
|
||||
idIllustr : str = random_element(pathIntegers)
|
||||
def generate_line_illustrations(idModele : str) -> str:
|
||||
idIllustr : str = give_not_used_key(idIllustrDict)
|
||||
urlIllustr : str = "\'" + random_element(pathUrls) + "\'"
|
||||
idModele : str = random_element(pathIntegers)
|
||||
|
||||
return construct_line(idIllustr, urlIllustr, idModele)
|
||||
|
||||
def generate_line_marques() -> str:
|
||||
idMarque : str = random_element(pathIntegers)
|
||||
idMarque : str = give_not_used_key(idMarqueDict)
|
||||
nomMarque : str = "\'" + random_element(pathBrands) + "\'"
|
||||
|
||||
return construct_line(idMarque, nomMarque)
|
||||
|
||||
def generate_line_membres() -> str:
|
||||
idMembre : str = random_element(pathIntegers)
|
||||
idMembre : str = give_not_used_key(idMembreDict)
|
||||
nomMembre : str = "\'" + random_element(pathNames) + "\'"
|
||||
|
||||
return construct_line(idMembre, nomMembre)
|
||||
|
||||
def generate_line_messages() -> str:
|
||||
idMessages : str = random_element(pathIntegers)
|
||||
def generate_line_messages(idMembre : str, idFil : str,
|
||||
idMessage2 : str) -> str:
|
||||
idMessage : str = give_not_used_key(idMessageDict)
|
||||
contenu : str = "\'" + random_element(pathSentences) + "\'"
|
||||
id_membre : str = random_element(pathIntegers)
|
||||
idFil : str = random_element(pathIntegers)
|
||||
idMessages2 : str = random_element(pathIntegers)
|
||||
|
||||
return construct_line(idMessages, contenu, idFil, idMessages2)
|
||||
return construct_line(idMessage, contenu, idFil, idMessage2)
|
||||
|
||||
def generate_line_modeles() -> str:
|
||||
idModele : str = random_element(pathIntegers)
|
||||
def generate_line_modeles(idMembre : str, idModeleEte : str) -> str:
|
||||
idModele : str = give_not_used_key(idModeleDict)
|
||||
nomModele : str = "\'" + random_element(pathNameModels) + "\'"
|
||||
urlNotice : str = "\'" + random_element(pathUrls) + "\'"
|
||||
idMembre : str = random_element(pathIntegers)
|
||||
idModeleEte : str = random_element(pathIntegers)
|
||||
|
||||
# When the first modele is declared.
|
||||
if idModeleEte == '':
|
||||
idModeleEte = idModele
|
||||
|
||||
return construct_line(idModele, nomModele, urlNotice, idMembre, \
|
||||
idModeleEte)
|
||||
|
||||
def generate_line_necessiter() -> str:
|
||||
idModele : str = random_element(pathIntegers)
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
quantite : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_necessiter(idModele : str, idPiece : str,
|
||||
quantite : str) -> str:
|
||||
return construct_line(idModele, idPiece, quantite)
|
||||
|
||||
def generate_line_noter() -> str:
|
||||
idModele : str = random_element(pathIntegers)
|
||||
idMembre : str = random_element(pathIntegers)
|
||||
def generate_line_noter(idModele : str, idMembre : str) -> str:
|
||||
note : str = "\'" + random_element(pathSentences) + "\'"
|
||||
|
||||
return construct_line(idModele, idMembre, note)
|
||||
|
||||
def generate_line_perdre() -> str:
|
||||
idMembre : str = random_element(pathIntegers)
|
||||
idBoite : str = random_element(pathIntegers)
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
quantite : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_perdre(idMembre : str, idBoite : str,
|
||||
idPiece : str, quantite : str) -> str:
|
||||
return construct_line(idMembre, idBoite, idPiece, quantite)
|
||||
|
||||
def generate_line_tags() -> str:
|
||||
idTag : str = random_element(pathIntegers)
|
||||
idTag : str = give_not_used_key(idTagDict)
|
||||
nomTag : str = "\'" + random_element(pathWords) + "\'"
|
||||
|
||||
return construct_line(idTag, nomTag)
|
||||
|
||||
def generate_line_varier() -> str:
|
||||
idModele_1 : str = random_element(pathIntegers)
|
||||
idModele_et : str = random_element(pathIntegers)
|
||||
|
||||
def generate_line_varier(idModele_1 : str, idModele_et : str) -> str:
|
||||
return construct_line(idModele_1, idModele_et)
|
||||
|
||||
def generate_line_formes() -> str:
|
||||
idForme : str = random_element(pathIntegers)
|
||||
idForme : str = give_not_used_key(idFormeDict)
|
||||
nomForme : str = "\'" + random_element(pathWords) + "\'"
|
||||
|
||||
return construct_line(idForme, nomForme)
|
||||
|
||||
def generate_line_motifs() -> str:
|
||||
idMotif : str = random_element(pathIntegers)
|
||||
idMotif : str = give_not_used_key(idMotifDict)
|
||||
nomMotif : str = "\'" + random_element(pathWords) + "\'"
|
||||
|
||||
return construct_line(idMotif, nomMotif)
|
||||
|
||||
def generate_line_pieces() -> str:
|
||||
idPiece : str = random_element(pathIntegers)
|
||||
idPiece : str = give_not_used_key(idPieceDict)
|
||||
|
||||
return construct_line(idPiece)
|
||||
|
||||
def generate_line_pieces_complexes() -> str:
|
||||
idPieceCo : str = random_element(pathIntegers)
|
||||
idPieceCo : str = give_not_used_key(idPieceCompDict)
|
||||
|
||||
return construct_line(idPieceCo)
|
||||
|
||||
@ -246,17 +280,47 @@ def generate_line_pieces_complexes() -> str:
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
def store_table(nbLines : int, pathFile : str, funcGenerationLine) -> None:
|
||||
def store_a_line_in_table(pathFile : str, funcGenerationLine) -> None:
|
||||
"""
|
||||
:param nbLines: the number of generated lines we want to get.
|
||||
:param pathFile: the relative path where we want to store the table.
|
||||
:param funcGenerationLine: the function generate_line_* for the table.
|
||||
|
||||
Write the table in a .data file.
|
||||
Write the line of the table in a .data file.
|
||||
"""
|
||||
with open(pathFile, 'w+') as file: # w+ : if does not exist.
|
||||
for i in range(nbLines):
|
||||
file.write(funcGenerationLine() + ",\n")
|
||||
with open(pathFile, 'a+') as file: # w+ : if does not exist.
|
||||
file.write(funcGenerationLine() + ",\n")
|
||||
|
||||
###############################################################################
|
||||
|
||||
def store_table(nbElements : int, nameTable : str, funcGenerationLine) -> None:
|
||||
"""
|
||||
:param nbElements: the number of instances we want to get.
|
||||
:param nameTable: from `dictTables.keys()`.
|
||||
:param funcGenerationLine: the function generate_line_* for the table.
|
||||
"""
|
||||
for i in range(nbElements):
|
||||
store_a_line_in_table(give_path_file(nameTable), funcGenerationLine)
|
||||
|
||||
###############################################################################
|
||||
|
||||
def generate_table(nbElements : int, nameTable : str, funcGen) -> None:
|
||||
for i in range(nbElements):
|
||||
store_table(1, nameTable, funcGen)
|
||||
|
||||
###############################################################################
|
||||
|
||||
def generate_table_using_quantite(nbElements : int, nameTable : str,
|
||||
funcGen) -> None:
|
||||
total : int = nbElements
|
||||
for i in range(nbElements):
|
||||
quantite : int = random.randint(0, int(total / 4)) if i < nbElements \
|
||||
else total
|
||||
total = total - quantite
|
||||
funcGen_2 = lambda : funcGen(
|
||||
str(quantite)
|
||||
)
|
||||
|
||||
store_table(1, nameTable, funcGen_2)
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
@ -266,14 +330,13 @@ def store_table(nbLines : int, pathFile : str, funcGenerationLine) -> None:
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# Need to do it manually, otherwire it is too hard.
|
||||
# Need to do it manually, otherwise it is too hard.
|
||||
|
||||
# Step 1 : remove the duplicated primary keys,
|
||||
# if there are 2 objects with the same primary key.
|
||||
|
||||
# Step 2 : remove the lines that have a foreign key that does not exist.
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# STEP 4 : CONVERSION TO PostgreSQL
|
||||
@ -292,8 +355,9 @@ def convert_table_to_sql(pathFile : str, nameTable : str) -> None:
|
||||
|
||||
fileSql.write("INSERT INTO " + nameTable + " VALUES\n")
|
||||
|
||||
with open(pathFile, 'r') as fileData:
|
||||
fileSql.writelines(fileData.readlines())
|
||||
if os.path.exists(pathFile):
|
||||
with open(pathFile, 'r') as fileData:
|
||||
fileSql.writelines(fileData.readlines())
|
||||
|
||||
fileSql.close()
|
||||
|
||||
@ -308,59 +372,240 @@ def convert_table_to_sql(pathFile : str, nameTable : str) -> None:
|
||||
|
||||
###############################################################################
|
||||
|
||||
dictTables : dict = {
|
||||
tablesDict : dict = {
|
||||
"membres" : generate_line_membres,
|
||||
"couleurs" : generate_line_couleurs,
|
||||
"marques" : generate_line_marques,
|
||||
"tags" : generate_line_tags,
|
||||
"formes" : generate_line_formes,
|
||||
"motifs" : generate_line_motifs,
|
||||
"pieces" : generate_line_pieces,
|
||||
"pieces_complexes" : generate_line_pieces_complexes,
|
||||
"modeles" : generate_line_modeles,
|
||||
"boites" : generate_line_boites,
|
||||
"fils" : generate_line_fils,
|
||||
"messages" : generate_line_messages,
|
||||
"illustrations" : generate_line_illustrations,
|
||||
"acheter" : generate_line_acheter,
|
||||
"avoir_motif" : generate_line_avoir_motif,
|
||||
"avoir_tag" : generate_line_avoir_tag,
|
||||
"boites" : generate_line_boites,
|
||||
"colorer" : generate_line_colorer,
|
||||
"construire" : generate_line_construire,
|
||||
"contenir" : generate_line_contenir,
|
||||
"couleurs" : generate_line_couleurs,
|
||||
"enregistrer" : generate_line_enregistrer,
|
||||
"etre" : generate_line_etre,
|
||||
"etre_complexe" : generate_line_etre_complexe,
|
||||
"etre_forme" : generate_line_etre_forme,
|
||||
"fils" : generate_line_fils,
|
||||
"illustrations" : generate_line_illustrations,
|
||||
"marques" : generate_line_marques,
|
||||
"membres" : generate_line_membres,
|
||||
"messages" : generate_line_messages,
|
||||
"modeles" : generate_line_modeles,
|
||||
"necessiter" : generate_line_necessiter,
|
||||
"noter" : generate_line_noter,
|
||||
"perdre" : generate_line_perdre,
|
||||
"tags" : generate_line_tags,
|
||||
"varier" : generate_line_varier,
|
||||
"formes" : generate_line_formes,
|
||||
"motifs" : generate_line_motifs,
|
||||
"pieces" : generate_line_pieces,
|
||||
"pieces_complexes" : generate_line_pieces_complexes
|
||||
"varier" : generate_line_varier
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
||||
def givePathFile(nameTable : str) -> str:
|
||||
def give_path_file(nameTable : str) -> str:
|
||||
repertory : str = "build/"
|
||||
return repertory + nameTable + ".data"
|
||||
|
||||
###############################################################################
|
||||
|
||||
if __name__ == '__main__':
|
||||
# Uncomment if you want to generate data.
|
||||
for nameTable in dictTables:
|
||||
store_table(200, givePathFile(nameTable), dictTables[nameTable])
|
||||
###########################################################################
|
||||
#
|
||||
# The tables that have no foreign keys.
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
nbMembres : int = 101
|
||||
store_table(nbMembres, "membres", tablesDict["membres"])
|
||||
|
||||
nbCouleurs : int = 21
|
||||
store_table(nbCouleurs, "couleurs", tablesDict["couleurs"])
|
||||
|
||||
nbMarques : int = 10
|
||||
store_table(nbMarques, "marques", tablesDict["marques"])
|
||||
|
||||
nbTags : int = 69
|
||||
store_table(nbTags, "tags", tablesDict["tags"])
|
||||
|
||||
nbFormes : int = 69
|
||||
store_table(nbFormes, "formes", tablesDict["formes"])
|
||||
|
||||
nbMotifs : int = 100
|
||||
store_table(nbMotifs, "motifs", tablesDict["motifs"])
|
||||
|
||||
nbPieces : int = 750
|
||||
store_table(nbPieces, "pieces", tablesDict["pieces"])
|
||||
|
||||
nbPiecesComp : int = 250
|
||||
store_table(nbPiecesComp, "pieces_complexes",
|
||||
tablesDict["pieces_complexes"])
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
# The tables that are needed for the verb tables.
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
nbModeles : int = 10
|
||||
funcGen = lambda : tablesDict["modeles"](
|
||||
give_used_key(idMembreDict),
|
||||
give_used_key(idModeleDict)
|
||||
)
|
||||
generate_table(nbModeles, "modeles", funcGen)
|
||||
|
||||
nbBoites : int = 20
|
||||
funcGen = lambda : tablesDict["boites"](
|
||||
give_used_key(idMarqueDict)
|
||||
)
|
||||
generate_table(nbBoites, "boites", funcGen)
|
||||
|
||||
nbFils : int = 100
|
||||
funcGen = lambda : tablesDict["fils"](
|
||||
give_used_key(idModeleDict)
|
||||
)
|
||||
generate_table(nbFils, "fils", funcGen)
|
||||
|
||||
nbMessages : int = 300
|
||||
funcGen = lambda : tablesDict["messages"](
|
||||
give_used_key(idMembreDict),
|
||||
give_used_key(idFilDict),
|
||||
give_used_key(idMessageDict)
|
||||
)
|
||||
generate_table(nbMessages, "messages", funcGen)
|
||||
|
||||
nbIllustrations : int = nbModeles
|
||||
funcGen = lambda : tablesDict["illustrations"](
|
||||
give_used_key(idModeleDict)
|
||||
)
|
||||
generate_table(nbIllustrations, "illustrations", funcGen)
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
# The verb tables.
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
nbAcheter : int = nbMembres if nbMembres < nbPieces else nbPieces
|
||||
funcGen = lambda x: tablesDict["acheter"](
|
||||
give_used_key(idMembreDict),
|
||||
give_used_key(idPieceDict),
|
||||
x
|
||||
)
|
||||
generate_table_using_quantite(nbAcheter, "acheter", funcGen)
|
||||
|
||||
nbAvoirMotif : int = nbPieces if nbPieces < nbMotifs else nbMotifs
|
||||
funcGen = lambda : tablesDict["avoir_motif"](
|
||||
give_used_key(idPieceDict),
|
||||
give_used_key(idMotifDict)
|
||||
)
|
||||
generate_table(nbAvoirMotif, "avoir_motif", funcGen)
|
||||
|
||||
nbAvoirTag : int = nbTags if nbTags < nbBoites else nbBoites
|
||||
funcGen = lambda : tablesDict["avoir_tag"](
|
||||
give_used_key(idTagDict),
|
||||
give_used_key(idBoiteDict)
|
||||
)
|
||||
generate_table(nbAvoirTag, "avoir_tag", funcGen)
|
||||
|
||||
nbColorer : int = nbPieces if nbPieces < nbCouleurs else nbCouleurs
|
||||
funcGen = lambda : tablesDict["colorer"](
|
||||
give_used_key(idPieceDict),
|
||||
give_used_key(idCouleurDict)
|
||||
)
|
||||
generate_table(nbColorer, "colorer", funcGen)
|
||||
|
||||
nbConstruire : int = nbBoites if nbBoites < nbModeles else nbModeles
|
||||
funcGen = lambda : tablesDict["construire"](
|
||||
give_used_key(idBoiteDict),
|
||||
give_used_key(idModeleDict)
|
||||
)
|
||||
generate_table(nbConstruire, "construire", funcGen)
|
||||
|
||||
nbContenir : int = nbBoites if nbBoites < nbPieces else nbPieces
|
||||
funcGen = lambda x: tablesDict["contenir"](
|
||||
give_used_key(idBoiteDict),
|
||||
give_used_key(idPieceDict),
|
||||
x
|
||||
)
|
||||
generate_table_using_quantite(nbContenir, "contenir", funcGen)
|
||||
|
||||
nbEnregistrer : int = nbBoites if nbBoites < nbMembres else nbMembres
|
||||
funcGen = lambda x: tablesDict["enregistrer"](
|
||||
give_used_key(idBoiteDict),
|
||||
give_used_key(idMembreDict),
|
||||
x
|
||||
)
|
||||
generate_table_using_quantite(nbEnregistrer, "enregistrer", funcGen)
|
||||
|
||||
nbEtre : int = nbPieces - int(nbPieces / 4)
|
||||
funcGen = lambda : tablesDict["etre"](
|
||||
give_used_key(idPieceDict),
|
||||
give_used_key(idMarqueDict)
|
||||
)
|
||||
generate_table(nbEtre, "etre", funcGen)
|
||||
|
||||
nbEtreComp : int = nbPieces - nbEtre
|
||||
funcGen = lambda : tablesDict["etre_complexe"](
|
||||
give_used_key(idPieceDict),
|
||||
give_used_key(idPieceCompDict)
|
||||
)
|
||||
generate_table(nbEtreComp, "etre_complexe", funcGen)
|
||||
|
||||
nbEtreForme : int = nbPieces
|
||||
funcGen = lambda : tablesDict["etre_forme"](
|
||||
give_used_key(idFormeDict),
|
||||
give_used_key(idPieceDict)
|
||||
)
|
||||
generate_table(nbEtreForme, "etre_forme", funcGen)
|
||||
|
||||
nbNecessiter : int = nbModeles if nbModeles < nbPieces else nbPieces
|
||||
funcGen = lambda x: tablesDict["necessiter"](
|
||||
give_used_key(idModeleDict),
|
||||
give_used_key(idPieceDict),
|
||||
x
|
||||
)
|
||||
generate_table_using_quantite(nbNecessiter, "necessiter", funcGen)
|
||||
|
||||
nbNoter : int = nbModeles if nbModeles < nbMembres else nbMembres
|
||||
funcGen = lambda : tablesDict["noter"](
|
||||
give_used_key(idModeleDict),
|
||||
give_used_key(idMembreDict)
|
||||
)
|
||||
generate_table(nbNoter, "noter", funcGen)
|
||||
|
||||
nbPerdre : int = nbPieces
|
||||
funcGen = lambda x: tablesDict["perdre"](
|
||||
give_used_key(idMembreDict),
|
||||
give_used_key(idBoiteDict),
|
||||
give_used_key(idPieceDict),
|
||||
x
|
||||
)
|
||||
generate_table_using_quantite(nbPerdre, "perdre", funcGen)
|
||||
|
||||
nbVarier : int = nbModeles
|
||||
funcGen = lambda : tablesDict["varier"](
|
||||
give_used_key(idModeleDict),
|
||||
give_used_key(idModeleDict)
|
||||
)
|
||||
generate_table(nbVarier, "varier", funcGen)
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
# To write `insert.sql`.
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
# Writing in `insert.sql`.
|
||||
fileSql = open("insert.sql", 'w+')
|
||||
|
||||
fileSql.write("TRUNCATE " + ', '.join(dictTables) + ";\n")
|
||||
fileSql.write("TRUNCATE " + ', '.join(tablesDict) + ";\n")
|
||||
fileSql.write("\n")
|
||||
fileSql.close()
|
||||
|
||||
with open("insert.sql", 'a') as fileSql:
|
||||
for nameTable in dictTables:
|
||||
convert_table_to_sql(givePathFile(nameTable), nameTable)
|
||||
|
||||
for nameTable in tablesDict:
|
||||
convert_table_to_sql(give_path_file(nameTable), nameTable)
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
10160
PostgreSQL/insert.sql
10160
PostgreSQL/insert.sql
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user