[GRASS-dev] [GRASS GIS] #1393: v.db.join and "duplicate column name"

GRASS GIS trac at osgeo.org
Wed May 8 09:08:34 PDT 2019


#1393: v.db.join and "duplicate column name"
--------------------------+----------------------------
  Reporter:  lucadelu     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  major        |  Milestone:  6.4.6
 Component:  Vector       |    Version:  unspecified
Resolution:               |   Keywords:  vector db join
       CPU:  Unspecified  |   Platform:  All
--------------------------+----------------------------

Comment (by mlennert):

 I'm attaching a patch to the current Python version of v.db.join that does
 the following:

 * add a 'column_prefix' parameter that allows defining a column prefix for
 all newly joined columns in order to avoid any column name conflicts

 * never join the key column from the other table as that would be
 redundant

 Any objections against applying this ?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1393#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list