Jump to content

Comments Removed?


Recommended Posts

I threw some code in the tool yesterday morning, and had a huge chunk of comments go missing.  It might have something to do with a collect statement or the fact that the comments were a create table that was not necessary at the time, but left in the code in case it might be needed in the future.  I don’t think that’s too uncommon.  Here’s the original (simplified):

  • SEL * FROM VOL_TABLE
  • COLLECT STATISTICS COLUMN (DATE) ON VOL_TABLE;
  • 30 lines of commented out code
  • DELETE TABLE2
  • INSERT INTO TABLE2…

The output has:

  • SELECT * FROM PUBLIC.VOL_TABLE
  • A single new line
  • DELETE FROM ;
  • INSERT INTO PUBLIC.TABLE2

Is that Collect statement throwing things off?  Or just too many comments?   I think the output is still functionally the same.  Just curious as to why that would happen during the transformation.

Thanks.

Link to post
Share on other sites
  • Mobilize.Net Staff

Hi Brandon,

Thanks for the feedback

This is a known issue and we're working towards a general solution for preserving comments in all conversions. Current target for the solution is Q1 of this year.

Regards,
Oscar Vasquez

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use