Skip to content

Mapping:After change name ,delete src table ,the Dest table can not be deleted  #453

@yaqigithub

Description

@yaqigithub

Description
create a job copy data to Dest,delete the Src table,The table in Dest can not be deleted.

Steps to reproduce the issue:
1.create schema test1 in Src
create database action_db;
create database action_db2;

2.create three tables in action_db and action_db2
CREATE TABLE sbtest1(idint(7) NOT NULL,TITLE VARCHAR(40) NOT NULL,PRIMARY KEY (id));
CREATE TABLE sbtest2(idint(7) NOT NULL,TITLE VARCHAR(40) NOT NULL,PRIMARY KEY (id));
CREATE TABLE sbtest3(idint(7) NOT NULL,TITLE VARCHAR(40) NOT NULL,PRIMARY KEY (id));
3.create job
job204.json.txt
curl -H "Accept:application/json" -XPOST "http://10.186.62.57:9190/v1/jobs" -d @job204.json -s | jq
4.delete table sbtest1 in Src
drop table sbtest1;

Describe the results you received:
table demo1 in Dest do not deleted

Describe the results you expected:
table demo1 in Dest is deleted

Output of ./dtle version:

Dtle 9.9.9.9 (git: master 41b2d5b60f82d38f616436f90806420ed4805eb8)

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (log, config, job config etc):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions