We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
导入或更新日期型数据都会报错,日期数据来自Pg数据库timestamp with time zone:
软件版本 docker centeros7 latest
我的模型:
{ "schema": [ { "label": "person", "type": "VERTEX", "primary": "objid", "properties": [ { "name": "resignation_date", "type": "DATETIME", "optional": true }, { "name": "is_admin", "type": "BOOL", "optional": true }, { "name": "is_quit", "type": "BOOL", "optional": true }, { "name": "lastmodify_date", "type": "DATETIME", "optional": true }, { "name": "creation_date", "type": "DATETIME", "optional": true }, { "name": "staff_no", "type": "STRING", "optional": true }, { "name": "name", "type": "STRING", "optional": true }, { "name": "creator_id", "type": "STRING", "optional": true }, { "name": "mobile", "type": "STRING", "optional": true }, { "name": "lastmodifier_id", "type": "STRING", "optional": true }, { "name": "objid", "type": "STRING" }, { "name": "description", "type": "STRING", "optional": true }, { "name": "email", "type": "STRING", "optional": true }, { "name": "password", "type": "STRING", "optional": true } ] } ], "files": [ { "path": "raw_data/person.csv", "format": "CSV", "label": "person", "header": 2, "columns": [ "resignation_date", "is_admin", "is_quit", "lastmodify_date", "creation_date", "staff_no", "name", "creator_id", "mobile", "lastmodifier_id", "objid", "description", "email", "password" ] } ] }
另外通过lgraph_import导入,报如下错误,我猜测是一个问题。
dgraph 文档可以借鉴
The text was updated successfully, but these errors were encountered:
No branches or pull requests
导入或更新日期型数据都会报错,日期数据来自Pg数据库timestamp with time zone:
软件版本
docker centeros7 latest
我的模型:
{
"schema": [
{
"label": "person",
"type": "VERTEX",
"primary": "objid",
"properties": [
{
"name": "resignation_date",
"type": "DATETIME",
"optional": true
},
{
"name": "is_admin",
"type": "BOOL",
"optional": true
},
{
"name": "is_quit",
"type": "BOOL",
"optional": true
},
{
"name": "lastmodify_date",
"type": "DATETIME",
"optional": true
},
{
"name": "creation_date",
"type": "DATETIME",
"optional": true
},
{
"name": "staff_no",
"type": "STRING",
"optional": true
},
{
"name": "name",
"type": "STRING",
"optional": true
},
{
"name": "creator_id",
"type": "STRING",
"optional": true
},
{
"name": "mobile",
"type": "STRING",
"optional": true
},
{
"name": "lastmodifier_id",
"type": "STRING",
"optional": true
},
{
"name": "objid",
"type": "STRING"
},
{
"name": "description",
"type": "STRING",
"optional": true
},
{
"name": "email",
"type": "STRING",
"optional": true
},
{
"name": "password",
"type": "STRING",
"optional": true
}
]
}
],
"files": [
{
"path": "raw_data/person.csv",
"format": "CSV",
"label": "person",
"header": 2,
"columns": [
"resignation_date",
"is_admin",
"is_quit",
"lastmodify_date",
"creation_date",
"staff_no",
"name",
"creator_id",
"mobile",
"lastmodifier_id",
"objid",
"description",
"email",
"password"
]
}
]
}
另外通过lgraph_import导入,报如下错误,我猜测是一个问题。
dgraph 文档可以借鉴
The text was updated successfully, but these errors were encountered: