登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
就在本周六,成都站 Gitee Talk | 模力方舟 AI 应用开发沙龙抢占最后席位!聚焦 AI 开发全链路,结识技术同频人~
代码拉取完成,页面将自动刷新
开源项目
>
数据库相关
>
数据库服务
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
442
Star
1.5K
Fork
1.8K
openGauss
/
openGauss-server
代码
Issues
964
Pull Requests
165
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
copy命令DATE_FORMAT缺少时分秒时,未按格式复制
已验收
#I3HZJN
缺陷
zdai96
创建于
2021-04-08 20:22
**How to reproduce it (as minimally and precisely as possible)**: create table t1(col1 int, col2 date); New file:vi /tmp/test.csv 1,2013-12-11 16:12:12 2,2010-12-12 3,2013-12-11 13:50:23 copy t1 from '/tmp/test.csv' DELIMITERS ',' DATE_FORMAT 'YY-MM-DD'; select * from t1; **What happened**: There is "hours:mins:seconds", not like the DATE_FORMAT 'YY-MM-DD' I set. col1 | col2 -----+----------- 1 | 2013-12-11 16:12:12 2 | 2010-12-12 00:00:00 3 | 2013-12-11 13:50:23 **What you expected to happen**: Copy from csv file shuold not have the time(hours:mins:seconds), like the DATE_FORMAT just have year-month-day. col1 | col2 -----+----------- 1 | 2013-12-11 2 | 2010-12-12 3 | 2013-12-11
**How to reproduce it (as minimally and precisely as possible)**: create table t1(col1 int, col2 date); New file:vi /tmp/test.csv 1,2013-12-11 16:12:12 2,2010-12-12 3,2013-12-11 13:50:23 copy t1 from '/tmp/test.csv' DELIMITERS ',' DATE_FORMAT 'YY-MM-DD'; select * from t1; **What happened**: There is "hours:mins:seconds", not like the DATE_FORMAT 'YY-MM-DD' I set. col1 | col2 -----+----------- 1 | 2013-12-11 16:12:12 2 | 2010-12-12 00:00:00 3 | 2013-12-11 13:50:23 **What you expected to happen**: Copy from csv file shuold not have the time(hours:mins:seconds), like the DATE_FORMAT just have year-month-day. col1 | col2 -----+----------- 1 | 2013-12-11 2 | 2010-12-12 3 | 2013-12-11
评论 (
6
)
登录
后才可以发表评论
状态
已验收
待办的
已确认
已答复
已取消
挂起
修复中
已完成
待回归
测试中
已验收
负责人
未设置
yansong_lee
yansong_lee
负责人
协作者
+负责人
+协作者
标签
kind/bug
sig/sqlengine
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (17)
标签 (29)
master
6.0.0
7.0.0-RC1
master_bak08271930
5.0.0
bugfix_0725
3.0.0
iud_dev
dev_board
5.1.0
kms
2.0.0
3.1.0
2.1.0
1.1.0
1.0.1
1.0.0
v6.0.2
v7.0.0-RC1
v6.0.1
v3.0.6
v6.0.0
v3.0.5B009
v5.0.3
v5.0.2
v6.0.0-RC1
v3.0.5
v5.0.1
v5.1.0
5.1.0
v5.0.0
v3.0.3
v3.1.1
v3.0.2
v3.1.0
v2.0.5
v3.0.1
v2.0.4
v2.0.3
v3.0.0
v2.1.0
v2.0.1
v2.0.0
v1.1.0
v1.0.1
v1.0.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册